Ajax Requests and Session Timeouts
Ajax Requests and Session Timeouts
- Subject: Ajax Requests and Session Timeouts
- From: Johnny Miller <email@hidden>
- Date: Mon, 22 Nov 2010 09:35:32 -1000
Hi,
I'm sure this is discussed somewhere but I'm unable to find it.
If a session timeouts between ajax requests how do you handle the response? I assume it is a combination of WOApplication's handleSessionRestorationErrorInContext and AjaxUtil.isAjaxRequest methods.
Do you just return a javascript method in the response that redirects to a direct action? I can also see from wocontext that you may be able to triangulate which page the request originated from.
Anyway, any advice would be greatly appreciated!
Johnny Miller
Kahalawai Media Corp
http://www.kahalawai.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden