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.
-Dan
: When you use --enable-trans-sid cookies aren't used for sessions. You can
: still use cookies for other things but the native session support in PHP
: won't use them.
:
: -Mitch
:
: ----- Original Message -----
: From: "Christian Marschalek" <cm@chello.at>
: To: "'Leonello, Chris (C.R.)'" <cleonell@visteon.com>
: Cc: "[PHP] PostgreSQL" <pgsql-php@postgresql.org>
: Sent: Tuesday, May 08, 2001 6:20 PM
: Subject: [PHP] RE: Sessions without cookies
:
:
: > > No. You can use both cookies and --enable-trans-sid. You don't
: > > have to use cookies if you are sending your SID encoded in the URL
: > > and you code appropriately, however. You indicated you
: > > didn't want to use cookies at all and encoding the SID in the
: > > URL, either manually or automatically by enabling trans-sid,
: > > will do the trick.
: > So cookies are only used when I tell php to do so? With set cookie and
: > so forth?
: >
: >
: > ---------------------------(end of broadcast)---------------------------
: > TIP 5: Have you checked our extensive FAQ?
: >
: > http://www.postgresql.org/users-lounge/docs/faq.html
: >
:
:
: ---------------------------(end of broadcast)---------------------------
: TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
:
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly