You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by So...@aol.com on 2000/09/20 19:32:30 UTC
http session bugs
2 quickies - any ideas or experiences shared are appreciated.
I have a valid session holding needed data, I access a servlet that calls request.getSession(true). Then later the servlet checks for the needed data in the session, this data is not put in by the servlet, it does not find the data and I have problems. I think I can conclude that the call to request.getSession(true) created a new session since the cookie session id could not be found in the appserver. I am wondering if others have had this problems, having a valid session, calling req.getSession(true) and losing the old session, creating a new one.
Also when you configure the session timeout for a sessions, does that mean if you are inactive for that time period the session will be lost, or does it mean even if you are active in your session - the session will end when the timeout period comes. Thanks
RE: http session bugs
Posted by Kevin Jones <ke...@develop.com>.
Which version of Tomcat - I once had loads of problems in older versions,
although I can't remember seeing this for a while,
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: Soch88@aol.com [mailto:Soch88@aol.com]
> Sent: 20 September 2000 18:33
> To: general@jakarta.apache.org
> Subject: http session bugs
>
>
> 2 quickies - any ideas or experiences shared are appreciated.
>
> I have a valid session holding needed data, I access a servlet
> that calls request.getSession(true). Then later the servlet
> checks for the needed data in the session, this data is not put
> in by the servlet, it does not find the data and I have
> problems. I think I can conclude that the call to
> request.getSession(true) created a new session since the cookie
> session id could not be found in the appserver. I am wondering if
> others have had this problems, having a valid session, calling
> req.getSession(true) and losing the old session, creating a new one.
> Also when you configure the session timeout for a sessions, does
> that mean if you are inactive for that time period the session
> will be lost, or does it mean even if you are active in your
> session - the session will end when the timeout period comes. Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org