Re: Losing a session?
| From: | Dan Anderson | Date: | Tue, 19 Aug 2003 17:20:16 +0000 |
| Subject: | Re: Losing a session? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160030@lists.php.net to get a copy of this message | ||
I would speculate that because what you are doing involves cookies at
coke.com $_SESSION['name'] == X and at pepsi.com $_SESSION['name'] ==
NotX.
On the other hand if on foo.coke.com you set $_SESSION['name'] I'm not
sure if it will be written over at bar.coke.com
-Dan
On Tue, 2003-08-19 at 17:05, Gerard L Petersen wrote:
> Hi
>
> Is it possible to lose a session?
> For instance if i go to coke.com and
>
> $_SESSION['name'] =3D "x";=20
>
> is set.
>
> and then i go to pepsi.com and
>
> $_SESSION['name'] =3D "notX";=20
>
> is set.
>
> if i then return to coke.com will $_SESSION['name'] =3D=3D notX;
>
> How does this work?
>
> Thanks
>
> Gerard