Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #5767
| From | "a" <a@mail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| References | <3giOp.18865$tp.177@newsfe06.iad> <4e0a4776$0$4352$e4fe514c@news.xs4all.nl> |
| Subject | Re: handling stale session |
| Message-ID | <xZAOp.28292$_I7.2396@newsfe08.iad> (permalink) |
| Date | 2011-06-29 01:01 -0700 |
Thanks for your reply. I need to check the validity of the session proactively because I only allow one session per IP. When there is another login request with a duplicated ip, I have to determine the validity of the existing session. "Silvio" <silvio@moc.com> 在郵件 news:4e0a4776$0$4352$e4fe514c@news.xs4all.nl 中撰寫... > 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