So, this problem has baffled me completely. I'll do the best to explain myself, and hopefully someone will have the answer.
I've got a php/mysql site on jpc which I've had for several months. It uses session variables to store certain user information. Just recently (surrounded by a period during which I didn't make any changes to the code base), one of my users began having a problem. He would log into the site, and then the next time he clicked on a link within the site, he would get logged out. More specifically: after clicking that link, somehow his session_id was no longer associated to him (I'm guessing), because he will immediately be assigned a new session_id.
Even more strangely, the old session data is still sitting around in serialized form on the web server, but he is no longer associated with it.
This only happens to a small subset of users, but it happens to them with consistency. I, for example, do not have a problem with it at all.
Some more things to note:
I have register_globals turned off, as well as use_trans_sid (Although I've tried toggling both of them in attempts to fix this).
Even more perplexing: I have a local setup of apache /php 4.3.2 on my winxp box, with the *Exact same* code base, and this problem doesn't exist. This, more than anything else, makes me think it has nothing to do with the code, but I figured this was still an appropriate place to post the question.
I've done my best to match up all the config settings in php.ini/phpinfo() so to mimic the environments, but all to no avail.
I will be happy to give you as much information as you need, because I'm really at wit's end with this problem.
Thanks in advance!


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks