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]>

Reply via email to