• Post Reply Bookmark Topic Watch Topic
  • New Topic

is it possible to manually give one session?

 
suki sahu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
suki sahu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!