Received: from socrates.catalyst.net.nz (socrates.catalyst.net.nz [203.96.153.226]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f49JbEA88070 for ; Wed, 9 May 2001 15:37:14 -0400 (EDT) (envelope-from andrew@catalyst.net.nz) Received: from heidegger.catalyst.net.nz (hume.catalyst.net.nz [203.96.153.228]) by socrates.catalyst.net.nz (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id HAA14937; Thu, 10 May 2001 07:37:02 +1200 X-Authentication-Warning: socrates.catalyst.net.nz: Host hume.catalyst.net.nz [203.96.153.228] claimed to be heidegger.catalyst.net.nz Received: from 127.0.0.1 (ident=andrew) by heidegger.catalyst.net.nz with esmtp (MasqMail 0.1.14) id 14xZko-6Hg-00; Thu, 10 May 2001 07:36:10 +1200 Message-ID: <3AF99C2A.5ADCA286@catalyst.net.nz> Date: Thu, 10 May 2001 07:36:10 +1200 From: Andrew McMillan Organization: Catalyst IT Ltd X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18-kant i686) X-Accept-Language: en MIME-Version: 1.0 To: Christian Marschalek CC: pgsql-php@postgresql.org Subject: Re: RE: Sessions without cookies References: <000801c0d882$90596660$0200a8c0@server> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/43 X-Sequence-Number: 352 Christian Marschalek wrote: > > > You should note that even with the --enable-trans-sid, PHP > > will still try and use a single cookie. If the user does not > > accept the cookie, then it is automagically passed in the > > URL. However, if the user accepts the cookie, then it will > > use that to keep track of the session rather than the URL re-writing. > > Thanks... But I still need to find a way how I can completely get rid of > the cookies. Interestingly we have just developed a site that used no cookies whatsoever, handling all session management through URL rewriting. We got to a point, however, about two weeks ago where we found that we did, after all, need to (try and) maintain session state between visits. Although people could bookmark the session, we decided to switch back to cookies as #1, with a fall-back to URL rewriting. You could do URL rewrite only sessions in PHP if you did your own URL rewriting through creative use of the ob_... set of Output Control functions. This would allow you to use sessions completely without cookies - if that's really what you want. Regards, Andrew. -- _____________________________________________________________________ Andrew McMillan, e-mail: Andrew@catalyst.net.nz Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington Me: +64(21)635-694, Fax: +64(4)499-5596, Office: +64(4)499-2267xtn709