RE: invalid sessions

2006-12-18 Thread Asensio, Rodrigo
settings. Thanks ! -Original Message- From: Veit Guna [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:28 PM To: Tomcat Users List Subject: Re: invalid sessions I check for invalidated sessions (timeout) the following way: if (! lRequest.isRequestedSessionIdValid

Re: invalid sessions

2006-12-18 Thread Veit Guna
I check for invalidated sessions (timeout) the following way: if (! lRequest.isRequestedSessionIdValid() && lRequest.getRequestedSessionId() != null) { log.debug("session expired"); } else { log.debug("the normal way"); } regards, Veit Asensio, Rodrigo schrieb: > Hi guys, Im tr

RE: invalid sessions

2006-12-18 Thread Asensio, Rodrigo
Is really a pain in the ass have a brand new session when the session is dead. Would be great have a session.isNewBecauseTheOldIsDead() -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 12:52 PM To: Tomcat Users List Subject: invalid

invalid sessions

2006-12-18 Thread Asensio, Rodrigo
Hi guys, Im trying to reject users whose sessions was invalidated (in purpose because a logout or timeout) But I found that there is not logic combination in the session valid or invalid methods. Case 1 First request Session.isNew() TRUE Request.isRequestedSessionIdValid() FALSE We can say that