Re: session id changing all the time on some pc's
| From: | Torsten Roehr | Date: | Sat, 03 Jul 2004 09:11:56 +0000 |
| Subject: | Re: session id changing all the time on some pc's | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189615@lists.php.net to get a copy of this message | ||
"Matthew Sims" <matt@killermookie.org> wrote in message
news:50974.208.44.135.18.1088804636.squirrel@208.44.135.18...
> > No, this is exactly what I wanted to know. But it would contradict
> > everything I experienced with sessions until now - and it does. I just
> > tested your code (with session_start() also at the top of page2). It
does
> > not work because there is absolutely no relation between page1 and page2
> > with your code. In this case a new session is being started on page two.
> >
> > You have got to pass the session id from one page to another (when not
> > using
> > a cookie) otherwise it won't work and rightly so.
>
> Ah, you are so correct. My apologies. Without cookies turned on then the
> session id is different with each page. Bleh.
>
> Okay...so...ignore all that I said. :)
>
> So I guess $_GET is the only option...that sucks.
>
> Sorry dude.
Hi Matthew,
there's no reason to apaologize. I would have loved to see a non-cookie
solution with transparent session id use.
Regards, Torsten