Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLHTTP question

Status
Not open for further replies.

rodic66

Programmer
Jan 19, 2005
3
US
HI everybody,
I’ve found out pretty nifty way of doing Remote scripting via XMLHTTP, but have to ask you guys and gals, here it goes: we have JSP project and the way we do security is using filter on server level, meaning when session expires all server requests will be redirected to login.jsp page. That’s fine but when I do remote scripting I request the page from the client and when server returns me some content of the page I reload part of my screen (some div) with this content, everything is fine until my session expired when it happens all remote scripting requests will bring instead of requesting page login.jsp page and it content is displayed in the div – it is ugly and user unfriendly. And here is the question is there any way to find out from XMLHTTP object what page is returned from the Server there is getAllResponseHeaders thing, but it does not say anything about the page uri.
Any ideas, please anything will do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top