Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #5754
| Date | 2011-06-28 23:28 +0200 |
|---|---|
| From | Silvio <silvio@moc.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: handling stale session |
| References | <3giOp.18865$tp.177@newsfe06.iad> |
| Message-ID | <4e0a4776$0$4352$e4fe514c@news.xs4all.nl> (permalink) |
Approach this from the other end. Add a listener to the session to hook into the session timeout and cleanup the session. Silvio On 06/28/2011 12:44 PM, a wrote: > Hi > > My question is about handling the stale session caused by user exit > application without logout. I use a table to maintain session info and > user, e.g, session id, user oid. > If the user exits the application without logout properly or the web > server restart, there is a record left on the table. > I am planning to check the validity of the session id on the table when > the user next login. > Is it possible to check whether the session is still alive or not by > telling the session id? > > Thanks
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
handling stale session "a" <a@mail.com> - 2011-06-28 03:44 -0700
Re: handling stale session Silvio <silvio@moc.com> - 2011-06-28 23:28 +0200
Re: handling stale session "a" <a@mail.com> - 2011-06-29 01:01 -0700
Re: handling stale session Silvio <silvio@moc.com> - 2011-06-29 11:31 +0200
Re: handling stale session "a" <a@mail.com> - 2011-06-29 11:35 -0700
Re: handling stale session Silvio <silvio@moc.com> - 2011-06-30 00:12 +0200
csiph-web