I'm using sessions with url encoding wit -----Ursprungliche Nachricht----- Von: Liam Morley [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 25. November 2001 22:48 An: [EMAIL PROTECTED] Betreff: RE: Session object has new ID each time
Nope, not using it through the URL, but it's the same id... And cookies do appear to be enabled... I even tried giving explicit permission to my domain just in case. Is there any way that the session could be invalidated in the code, causing the session to make a new id? Or would that even be a possibility? I'm just trying to think of ways that this could be a bug in my code instead of the Cocoon code. Has anybody else used Cocoon's session object in v2, rc2? And what have your experiences with it been? Liam Morley -----Original Message----- From: Jorn Heid [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 25, 2001 4:29 PM To: [EMAIL PROTECTED] Subject: AW: Session object has new ID each time Which URL do you use? With ;jsessionid=something? If so, sounds like a bug. If not, do you have cookies enabled? If so, sounds like a bug. If not, all works correctly and you have to read about sessions in the Servlet-API. -----Ursprungliche Nachricht----- Von: Liam Morley [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 25. November 2001 22:21 An: [EMAIL PROTECTED] Betreff: Session object has new ID each time My environment is Cocoon 2, rc2, running on Tomcat 4/Windows XP. I have the following code in my transformer: public void setup(org.apache.cocoon.environment.SourceResolver resolver, java.util.Map objectModel, java.lang.String src, Parameters par) { request = (Request) objectModel.get(Constants.REQUEST_OBJECT); ... Each time I refresh the page, request.getSession().getId() has a new value! How could this be? I've had this work before... I tried downloading Tomcat 3.3, and get the same result. I suspect that it's rc2? This never used to happen to me before... If anybody has any information, I'd greatly appreciate it. I'm coming up on a session management deadline and this is NOT looking good. Liam Morley --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>