This content has been marked as final.
Show 4 replies
-
1. Re: session timeout and ajax calls
sergeysmirnov Jun 13, 2007 8:25 AM (in response to visionbytes)Redirect from phaselistener does not work as soon as the Ajax object is waiting for response, but not the browser itself. So, using custom A4J.AJAX.onExpired is a right way to go. Did you try it or just heard about it?
-
2. Re: session timeout and ajax calls
visionbytes Jun 13, 2007 10:24 PM (in response to visionbytes)Thanks Sergey,
I have not really played with it, can i just override the method ie.<SCRIPT TYPE="text/javascript"> <!-- A4J.AJAX.onExpired = function(loc,expiredMsg){ alert("session expired") } //--> </SCRIPT>
in the head element of my xhtml? -
3. Re: session timeout and ajax calls
visionbytes Jun 22, 2007 12:58 AM (in response to visionbytes)Hi Sergey,
Was wondering if you could post up some example code? I'm pretty sure i;m not on the right track,
Cheers -
4. Re: session timeout and ajax calls
sergeysmirnov Jun 22, 2007 2:02 AM (in response to visionbytes)your code look good. Do you have a problem with it?