Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-10-2008, 12:03 PM   PM User | #1
Robin John
New to the CF scene

 
Join Date: Sep 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Robin John is an unknown quantity at this point
Session timeout reset

hi,

I want to reset my session timeout time back to 20 minutes each time the user sends a new request, 'm using struts 2.0, i have defined session timeout in web.xml as 20 minutes, so whatever the user does, he is logged out after 20 minutes, i have also set maxInactiveInterval as 20 minutes in the session listener, still its not taking the last accessed time but taking the session creation time and application times out after 20 minutes. what to do ?? THANKS IN ADVANCE FOR HELP. !!

i am using Geronimo 2.0 server.
Robin John is offline   Reply With Quote
Old 09-11-2008, 03:02 PM   PM User | #2
Robin John
New to the CF scene

 
Join Date: Sep 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Robin John is an unknown quantity at this point
it was a silly mistake from my side. was doing a getSession(true);

in the code and was not passing the session from one application to another so the reset was happening in one application but the user was in the other with a different session.

silly me..
Robin John is offline   Reply With Quote
Reply

Bookmarks

Tags
reset session timeout, session timeout

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:52 PM.


Advertisement
Log in to turn off these ads.