Hi,
I have two pages one is for user and another for admin.
when you login from the user then i am setting the session inactive interval as
session.setMaxInactiveInterval(600);
and for admin, the session inactive period is 60 and i am setting this as session.setMaxInactiveInterval(60);
Suppose when i login from the browser user and from the same browser i login admin then for the pages the session inactive period is set as 60 seconds.
So i wanted any help to get rid of this problem
You can only have one active session per web application per web browser.
So as in your case when you re-login as admin the same session's inactive interval is reset.
Lalit Mehra wrote:You can only have one active session per web application per web browser.
So as in your case when you re-login as admin the same session's inactive interval is reset.
Any solutions to get rid off this idea?
Cant i give two session inactive times?
If not then how to login as a user and as a admin from the same browser and at the same time?
suki sahu wrote:
Any solutions to get rid off this idea?
Cant i give two session inactive times?
If not then how to login as a user and as a admin from the same browser and at the same time?
I think you didn't read the reply properly.
http://plainoldjavaobject.blogspot.in
Story like this gets better after being told a few times. Or maybe it's just a tiny ad: