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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag > von Sonny Sukumar > Gesendet: Donnerstag, 14. August 2003 07:40 > An: [EMAIL PROTECTED]; [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> > > > >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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
