Jump to content

LOSING SESSION ON SLOW INTERNET


jwwceo

Recommended Posts

Hello,

 

I have a secure login script that uses sessions to maintain a users logged in status. I regenerate the session ID on each page reload for added security. Sometimes, I will lose sessions, and I am hard time figuring out why. It seems to be when I have a slow internet connection. I am wondering what could be causing this?? I have a few ideas, do any of these seem plausible.

 

-A max execution error, returns a fatal error.

-An ajax request get sent before the previous request returns, so the session ID's dont match an I am kicked out.

 

Any other ideas would be helpful.

 

Best,

 

James

Link to comment
https://forums.phpfreaks.com/topic/293020-losing-session-on-slow-internet/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.