From: | "Leonello, Chris (C(dot)R(dot))" <cleonell(at)visteon(dot)com> |
---|---|
To: | "'Christian Marschalek'" <cm(at)chello(dot)at> |
Cc: | "[PHP] PostgreSQL" <pgsql-php(at)postgresql(dot)org> |
Subject: | RE: Sessions without cookies |
Date: | 2001-05-08 16:49:00 |
Message-ID: | 200105081649.f48GnDr25977@dymwsm12.mailwatch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
> -----Original Message-----
> From: Christian Marschalek [mailto:cm(at)chello(dot)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(at)postgresql(dot)org
> > [mailto:pgsql-php-owner(at)postgresql(dot)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(at)chello(dot)at>
> > To: "[PHP] PostgreSQL" <pgsql-php(at)postgresql(dot)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(at)postgresql(dot)org)
> >
> >
> > ---------------------------(end of
> > broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Marschalek | 2001-05-08 22:20:53 | RE: Sessions without cookies |
Previous Message | Mitch Vincent | 2001-05-08 05:16:40 | Re: PHP calling PHP? |