-Igor
On 8/14/06, Frank Bille <[EMAIL PROTECTED]> wrote:
We just talked about it on IRC and we will try to do it like this:
- All redirects should be handled different if it's ajax (send ajax-location instead of location). This has nothing to do with the expired session problem, but has to do with how to redirect to a different page, when using ajax.
Instead of doing appendJavascript("window.location = URL") we change the requestcycle to add "ajax-location" instead of "location" when doing the header redirect.- Add an ajax indicator to all ajax requests. This is done in the _javascript_ so the server knows it's ajax even if all session related objects is gone.
- Whenever setresponsepage is called in an ajax request, we call setRedirect(true), so we force the ajax-location header.
I think this could work out just fine.
- FrankOn 8/14/06, Frank Bille <[EMAIL PROTECTED]> wrote:Ok, can _javascript_ do that? That would be just as good.
- FrankOn 8/14/06, Johan Compagner <[EMAIL PROTECTED] > wrote:matej means i guess set a request header (the one like: accept-encoding, or what kind of browser you are) with a ajax request
read that header out on the server and you know that it is a ajax request..
johan
On 8/14/06, Frank Bille < [EMAIL PROTECTED]> wrote:On 8/14/06, Matej Knopp <[EMAIL PROTECTED]> wrote:Another parameter? Do we really need it? Isn't this something that can
be put into request header? (either on client or server side).Not sure what you mean by request header? What I don't think we should have is something that is placed in memory on the server and stays there even if the session is expired.
- Frank
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop