pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew McMillan <andrew@catalyst.net.nz>
To: Christian Marschalek <cm@chello.at>
Cc: pgsql-php@postgresql.org
Subject: Re: RE: Sessions without cookies
Date: Thu, 10 May 2001 07:36:10 +1200
Message-ID: <3AF99C2A.5ADCA286@catalyst.net.nz> (raw)
References: <000801c0d882$90596660$0200a8c0@server>

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



view thread (16+ messages)  latest in thread

Message-ID: <3AF99C2A.5ADCA286@catalyst.net.nz>
Permalink:  ../3AF99C2A.5ADCA286@catalyst.net.nz/
Also on:    postgresql.org/message-id/3AF99C2A.5ADCA286@catalyst.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: andrew@catalyst.net.nz, cm@chello.at
  Subject: Re: Sessions without cookies
  In-Reply-To: <3AF99C2A.5ADCA286@catalyst.net.nz>
  References: <000801c0d882$90596660$0200a8c0@server> <3AF99C2A.5ADCA286@catalyst.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox