SMF Development > Fixed or Bogus Bugs

[4879] SMF 2.0 Final intermittant login and session failure (and workaround)

<< < (3/8) > >>

rawlogic:
Gothkid, if this is your issue, this fixes it from happening in the future. However, to recover from an invalid session, you'll still need to clear your browser's cookies. Once you clear your cookies, you should be prompted to log in again, and everything should be fine.

On Apache, you wouldn't need to restart the web server, but I don't know about IIS. Do as Illori suggested and restart it. However, do view the results of phpinfo() to see if you've got the setting correct. You don't need to change the code and the setting. One or the other will fix the issue, but I suppose both is better.

Gothkid:
I have restarted IIS mulitple times after changing the php.ini. I have also deleted my cookes and the cache folder and tried on different computers. I'm logged into my server through Remote desktop and trying on that and my home pc and both are getting the same errors. I looked at the sessions table in Mysql and there is no session id for my login.. Would that be the problem also?

The orginal session setting in php.ini is 5. I just restored the backup of the default before messing around with it. I seem i just can't figure out how to get 2.0 to work for me. Its a shame because I'm tired of MyBB tables needing repairing..

rawlogic:
Gothkid, what happens when you log out and log back in? Also, I tried to take a look at your forum at theworld-r2.net/forum to view the session IDs, but it says Service Unavailable.

Pattaya_web:
Thanks very much. Most useful

Joshua Dickerson:
rawlogic, thanks for the fix. Going to be hard to test it.

Would you consider making it in to a mod for users that haven't upgraded? I am going to commit the fix to the trunk (2.1).

Keep up the good work!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version