• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session Dropping - users kicked out

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic