RE: Sessions without cookies - Mailing list pgsql-php
From | Leonello, Chris (C.R.) |
---|---|
Subject | RE: Sessions without cookies |
Date | |
Msg-id | 200105081649.f48GnDr25977@dymwsm12.mailwatch.com Whole thread Raw |
In response to | Sessions without cookies ("Christian Marschalek" <cm@chello.at>) |
List | pgsql-php |
> -----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 > >