cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Re: AW: session cookies
Date Thu, 14 Aug 2003 07:34:01 GMT
Thanks for this clarification. Very useful. And what do you need to do to your sitemap 
matchers to handle incoming URLs that have been rewritten? Anything? Or is the 
URL rewriting undone before the URL is given to Cocoon?

Thanks, Upayavira

> hi sonny,
> 
> the check is automatically done by the servlet engine; if the user's
> browser doesn't accept cookies, sessions are realized by rewriting
> URLs. you have to send your URLs through the servlet engine's
> encodeURL/encodeRedircetURL though.
> 
> but the good news is that you can use cocoon's EncodeURLTransformer,
> which does this automatically; you just give it a pattern that matches
> elements' attributes that will be treated as URLs to be encoded.
> 
> HTH
> 
> > -----Urspr√ľngliche Nachricht-----
> > Von: users-return-54223-m_rolappe=web.de@cocoon.apache.org
> > [mailto:users-return-54223-m_rolappe=web.de@cocoon.apache.org]Im
> > Auftrag von Sonny Sukumar Gesendet: Donnerstag, 14. August 2003
> > 07:40 An: nbacon@aisoftware.com.au; users@cocoon.apache.org Betreff:
> > RE: session cookies
> >
> >
> >
> > Hmmm, how does one determine that the user doesn't have cookies
> > enabled and then switch the whole app over to using URL rewriting? 
> > That seems like a daunting task.
> >
> > >From: "neil" <nbacon@aisoftware.com.au>
> > >
> > >See
> > >http://cocoon.apache.org/2.1/userdocs/transformers/encodeurl-tran
> sformer.html
> >
> >You can use session cookies if the browser allows them and if it
> >doesn't you can encode the session id in your apps URLs. There's no
> >need to lose users that don't like cookies.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For
> >additional commands, e-mail: users-help@cocoon.apache.org
> >
> 
> _________________________________________________________________ MSN
> 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For
> additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For
> additional commands, e-mail: users-help@cocoon.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message