cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Re: Session does not persist
Date Fri, 03 May 2002 16:51:38 GMT
> > 
> > If I turning off cookies from the browser, Session does not persist.
> > I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
> > javax.servlet.http.HttpSession, As I know when cookies are
> > disabled it should use URL rewriting with jsessionid. I can see that
> 
> Not *it*, but *you* should rewrite URLs.
> 

Wow! 
I missed it BIG TIME! 
Sorry for stupid question.

Alex.
> 
> > Cocoon rewrites URL for subsequent request when session is created,
> > even when cookies actully on, but when I turn them off, I still can
> see
> > URL rewriting, but session does NOT persist:

This happens because cocon take the job for me when redirects to another
pipeline.

> > 
> > request.getSession(false); returns null.
> > 
> > Is this a bug?
> 
> Does session sample works?
> http://localhost:8080/cocoon/xsp/sessionpage
> 




---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message