pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Leonello, Chris (C.R.) <cleonell@visteon.com>
To: 'Christian Marschalek' <cm@chello.at>
Cc: [PHP] PostgreSQL <pgsql-php@postgresql.org>
Subject: RE: Sessions without cookies
Date: Tue, 8 May 2001 12:49:00 -0400
Message-ID: <200105081649.f48GnDr25977@dymwsm12.mailwatch.com> (raw)



> -----Original Message-----
> From: Christian Marschalek [mailto:cm@chello.at]
> Sent: Sunday, May 06, 2001 9:01 PM
> To: 'Gyozo Papp'
> Cc: [PHP] PostgreSQL
> Subject: RE: Sessions without cookies
> 
> 
> Thanks, but does --enable-trans-sid also mean to don't use 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.

Note that you will have to disable trans-sid (or find some work 
around) if you don't want the SID encoded in some of the URLs on your 
pages.  I believe trans-sid automatically encodes all the URL's 
in your page.
> 
> > -----Original Message-----
> > From: pgsql-php-owner@postgresql.org 
> > [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Gyozo Papp
> > Sent: Monday, May 07, 2001 12:38 AM
> > To: Christian Marschalek; [PHP] PostgreSQL
> > Subject: Re: [PHP] Sessions without cookies
> > 
> > 
> > --enable-trans-sid means
> > 
> > PHP concatenate transparently a 'SID=...' parameter to each 
> > relative URL in your HTML output content, therefore you may 
> > not worry about to do it manually. <A 
> > href='netxpage.php'>...</A> will work in this form. You can 
> > check it if view source in your browser.
> > 
> > 
> > ----- Original Message ----- 
> > From: "Christian Marschalek" <cm@chello.at>
> > To: "[PHP] PostgreSQL" <pgsql-php@postgresql.org>
> > Sent: 2001. május 7. 00:21
> > Subject: [PHP] Sessions without cookies
> > 
> > 
> > > How can I make sessions without cookies?
> > > The php manual is a bit perplexing on this one...
> > > 
> > > <A HREF="nextpage.php?<?=SID?>">click here</A>
> > > 
> > > First it says the <?=SID?> part is needed when cookies 
> are disabled.
> > > 
> > > Then it says "The <?=SID?> is not necessary, if 
> > --enable-trans-sid was 
> > > used to compile PHP"
> > > 
> > > What's the deal? I don't want to use cookies at all... Even 
> > if I could 
> > > use em (client has them turned on)
> > > 
> > > Tia!
> > > 
> > > (thanks to all that answered my last few questions;)
> > > 
> > > 
> > > ---------------------------(end of 
> > > broadcast)---------------------------
> > > TIP 2: you can get off all lists at once with the 
> unregister command
> > >     (send "unregister YourEmailAddressHere" to 
> > majordomo@postgresql.org)
> > 
> > 
> > ---------------------------(end of 
> > broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> > 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 
> 



view thread (16+ messages)  latest in thread

Message-ID: <200105081649.f48GnDr25977@dymwsm12.mailwatch.com>
Permalink:  ../200105081649.f48GnDr25977@dymwsm12.mailwatch.com/
Also on:    postgresql.org/message-id/200105081649.f48GnDr25977@dymwsm12.mailwatch.com

 · 

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: cleonell@visteon.com, cm@chello.at
  Subject: Re: Sessions without cookies
  In-Reply-To: <200105081649.f48GnDr25977@dymwsm12.mailwatch.com>
  References: <200105081649.f48GnDr25977@dymwsm12.mailwatch.com>

* 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