Forums Register Login

Session Dropping - users kicked out

+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Tomcat also logs you out in n minutes with or without user action.
[ September 01, 2005: Message edited by: Ben Souther ]
+Pie Number of slices to send: Send
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.
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 929 times.
Similar Threads
Could not connect to SMTP host: xxx, port 25
Active Session
Prevent Duplicate Logins
Session count tracking is lost when Tomcat restarted
Clustered servers killing my session object
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:26:16.