Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

session expiry even if there is auto-refresh

843838Aug 24 2006 — edited Sep 2 2007
I have a requirement in my application that the user session should expire in an hour. I could easily do this by setting the maxInactiveInterval on the session object in my jsp.

But the hitch is that there is another requirement that our page has to refresh every minute. I could do this through javascript. But, since it refreshes every minute, the session never expires.

So, even if the user is inactive for more than an hour, because of this refresh, there is a huge load on the database as it is hit every minute.

So, is there any way to expire the sesion, even if the page auto-refreshes every minute but there is no other user activity?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2007
Added on Aug 24 2006
5 comments
974 views