• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Dropping - users kicked out

 
srinath anand
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have a problem in that where users are suddenly being kicked out of the application and brought back to the login screen. I need to track why this is happening or what causes it to happen (say a particular request etc.). I can think of implementing the HttpSessionListener to track session creation and destruction. Any other suggestions ? Has anybody programmed anything for sessions that I can modify and use ?

Note: session timeout is set to 1 hour. So that is not the problem.

TIA
[ September 01, 2005: Message edited by: srinath anand ]
 
Choon-Chern Lim
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you using WSAD/RAD IDE (or may Eclipse), you may want to put checkpoints and run you server in debug mode. You should be able to figure out the culprit for it.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, tell us what you are using and something about your environment.
Are you IP load balancing?

I have a sessionMonitor demo application you are welcome to use.
http://simple.souther.us/not-so-simple.html
I make no claims about it being "production ready" but it might get you moving in the right direction.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm thinking in the same direction as Choon-Chern Lim. If you're running WebSphere and LTPA the timeout is an absolute value ie X minutes after you login, you get logged out regardless of user behaviour. We would need more information on your environment though.

Dave
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat also logs you out in n minutes with or without user action.
[ September 01, 2005: Message edited by: Ben Souther ]
 
srinath anand
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all for the help and pointers. I am going to try out the Session Monitor. The problem happens on BEA WebLogic and not on WAS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic