Re: multiple visitors at the same time [message #182993 is a reply to message #182989] |
Tue, 01 October 2013 16:02 |
Christoph Michael Bec
Messages: 207 Registered: June 2013
Karma:
|
Senior Member |
|
|
Am 01.10.2013 14:05, schrieb Richard Damon:
> Session IDs with or without login MUST be unique, or your sessions are
> broken (session logic MUST give a new id number to anything starting a
> session, or you don't have real sessions). Multiple connections from the
> same IP will be given different sessions.
>
> Using a session ID without a login will mean that any work the user does
> will be forgotten when the session expires.
>
> What adding a login does is to allow you to put into the session a user
> id from the login, so that the data from the user can persist from one
> session to another.
You may consider reading up on sessions:
<http://www.php.net/manual/en/book.session.php>. :)
--
Christoph M. Becker
|
|
|