On Jul 27, 2007, at 3:35 PM, Aparajita Fishman wrote:
What I do is return the text "###timeout###" when an Ajax request results in a session timeout, instead of redirecting to app.timeout. In my Javascript Ajax response handler I look for that string in transport.responseText and if I find it I set window.location to the app.timeout url, which redirects to top level page to the right place.
That answers the second part well, but how do you first know it is an Ajax request? By setting an extra header?
-- Bart _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
