Re: Sessions interfering with one another
| From: | Adam dot Whitehead at csm dot com dot au | Date: | Tue, 12 Mar 2002 00:14:01 +0000 |
| Subject: | Re: Sessions interfering with one another | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88123@lists.php.net to get a copy of this message | ||
Sounds good, but I'm not actually setting the cookie, PHP session code does
the setting
of the cookie.
---
Adam Whitehead
Systems Developer - CSM Limited
Ph. (08) 8936 3165 ** Mobile (0411) 241 120
E-mail: adam.whitehead@csm.com.au
Richard
Baskett To: <Adam.Whitehead@csm.com.au>, PHP General
<php-general@lists.php.net>
<rick@baskett cc:
case.com> Subject: Re: [PHP] Sessions interfering with one
another
12/03/02
09:42 am
Can't you just rename the cookie something else for your piece of software?
They wont write over each other if they have different names...
Rick
You will never be happy if you continue to search for what happiness
consists of. You will never live if you are looking for the meaning of
life.
- Albert Camus
> Hi All
>
> I am having a problem with two pieces of software written in PHP
> interfering with each
> other's sessions.
>
> That software is Squirrelmail, and another piece of software I have
written
> (a web-based
> administration site for schools). I think part of the problem might lie
in
> the cookies that
> are being set.
>
> Squirrelmail exists at: https://blah.server.com/squirrelmail/
> and the
other
> piece of software
> resides at https://blah.server.com/ict/. So I figure perhaps
> cookies are
> overwriting each
> other because they are being set for blah.server.com and not the whole
> path.
>
> I am using PHP4 sessions. Is there any way I can make these two sessions
> distinct? The problem
> is these sites are often used at the same time, in different windows. In
> fact my site often launches
> Squirrelmail, and at that point they automatically lose their login to my
> site because the cookie
> disappears!
>
> Cheers.
>
> ---
> Adam Whitehead
> Systems Developer - CSM Limited
> Ph. (08) 8936 3165 ** Mobile (0411) 241 120
> E-mail: adam.whitehead@csm.com.au
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>