[nycphp-talk] question about session and scalability
Chris Shiflett
shiflett at php.net
Wed Jan 7 20:27:15 EST 2004
--- Chris Hubbard <chubbard at next-online.net> wrote:
> My understanding is that if we're using $_sessions and the server goes
> down, then, the user looses their session (and any work they'd done).
Just store your session data in a database. You can define your own
functions with session_set_save_handler().
If you're feeling adventurous, you can look into msession. As I
understand, it allows the servers to share sessions, so it is probably a
bit faster.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/
More information about the talk
mailing list