--- Justin French <[EMAIL PROTECTED]> wrote:
> I did notice that once I login (it says "you are
> logged in as justin" across the top of the screen),
> if I refresh the same page a few times, it will
> MOSTLY say "you are logged in as..." but
> OCCASIONALLY it says "click here to login"...

> What's likely to cause this?

As I'm sure you're aware, this type of session problem can
be difficult to resolve. :-)

I am assuming that you are not using any type of load
balancing? If you are, that's probably your answer.

Short of that, can you replicate this in Mozilla? The
reason I ask is that there is now a project on mozdev.org
for viewing the HTTP protocol
(http://livehttpheaders.mozdev.org/). Otherwise, if you
have a tool to view the HTTP transactions, use that. I am
particularly curious to see if the HTTP request fails to
include the cookie or URL variable (depending on which
method you are testing) for the instance when you lose
session.

If the browser is correctly identifying itself on each
request, the requests are going to the same server, and the
session file never vanishes, I can see no way you would
lose session like that.

If all else fails, try using a database for your session
store instead of /tmp to see if the behavior changes.

Good luck, and let us know what you find out.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to