Re: Re[2]: [PHP] Re: PHP Sessions - One Server, Many Terminals
| From: | Chris Shiflett | Date: | Wed, 17 Mar 2004 04:03:53 +0000 |
| Subject: | Re: Re[2]: [PHP] Re: PHP Sessions - One Server, Many Terminals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180647@lists.php.net to get a copy of this message | ||
--- trlists@clayst.com wrote:
> Hmmm, I would contend that PHP, particularly running inside stateless
> HTTP, doesn't know one client from another except by the code you write
> that makes it recognize them
You're exactly right.
> if you had a way to set multiple cookies (easy) and to know which one
> you cared about on the next page load (harder, but at least it seems
> doable in the URL) then you can run multiple sessions.
Yeah, I think it's easier to manage this sort of thing by using some sort
of identifier in the URL, even if it's not the only one. No matter what,
this requires that some code be written.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming mid-2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/