Re: About session in PHP
| From: | php3 at developersdesk dot com | Date: | Wed, 03 Jan 2001 14:23:22 +0000 |
| Subject: | Re: About session in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32482@lists.php.net to get a copy of this message | ||
Addressed to: "schlee" <schlee@hkstar.com>
php-general@lists.php.net
** Reply to note from "schlee" <schlee@hkstar.com> Wed, 3 Jan 2001 19:59:03 +0800
>
> ------=_NextPart_000_000C_01C075BF.9F023820 Content-Type: text/plain;
> charset="x-user-defined" Content-Transfer-Encoding: quoted-printable
>
> Dear support,
>
> When I connect to the web-page written by PHP4.04 using IE 5.0, a
> session-id d396xxxxxx is generated in the server's /tmp = directory.
>
> Then I start another IE 5.0 to connect to the same page again, and I
> expected a new session-id should be generated, however, it gives me
> the same session-id. So I can't start two simultanous php application
> from one PC due to the same session id.
>
> Help : how can I make the session-id be different from same PC
You might try turning off cookies on your browser.
I F
the program is using PHP sessions, and it is setup to put the session
ID into the URL if it can't use cookies, you _might_ get away with it.
No promises though, it is a tough test of the program. You might find
places where the session id is not propigated right, and you will lose
your session. On the other hand, it is a good way to debup the program
to make sure it does not lose the SID.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com