[jboss-user] [JBoss Seam] - Re: Displaying session expiry

app4you@yahoo.com do-not-reply at jboss.com
Tue Mar 20 12:28:22 EDT 2007


Hi,

2 options:
 
 1. Use the Javascript setTimeout(alertMeAndRedirect, 30minutes) attached to the window's onload event
 2. or Ajax a servlet to sniff to find out if session variable still exists.  If the response = blah, then location.href='/index.jsp?timeout=true';  or redirect within the servlet filter but I had problem with Seam 1.1 awhile back

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029870#4029870

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029870



More information about the jboss-user mailing list