RE: [PHP] Reprise of dissapearing session variables
| From: | Johnson, Kirk | Date: | Mon, 10 Sep 2001 14:17:13 +0000 |
| Subject: | RE: [PHP] Reprise of dissapearing session variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66742@lists.php.net to get a copy of this message | ||
> The session variables will remain set, but will it looks
> like my session gets lost every now and then.... if you want
> to see an example, go to http://northpointless.org/test.php
> and hit refresh several times. I cannot figure out what is happening.
Did you get this figured out? It looks like you are running on a
load-balanced web farm. If so, and you are saving session data in files,
there's your problem. The session file is saved on the server that handles
the first request. When later requests go to a different machine, the
session file can't be found, since it is on the first server.
Kirk