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.
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.