Return-Path: Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 69574 invoked by uid 500); 14 Aug 2003 07:18:11 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 69398 invoked from network); 14 Aug 2003 07:18:06 -0000 Received: from smtp01.web.de (HELO smtp.web.de) (217.72.192.180) by daedalus.apache.org with SMTP; 14 Aug 2003 07:18:06 -0000 Received: from [80.134.176.238] (helo=jmajination) by smtp.web.de with asmtp (WEB.DE 4.99 #448) id 19nCNF-0002XD-00; Thu, 14 Aug 2003 09:18:17 +0200 From: "Marco Rolappe" To: , Subject: AW: session cookies Date: Thu, 14 Aug 2003 09:20:26 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: Sender: m_rolappe@web.de X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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" > > > >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