• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sessions Class initializing twice

#1
[eluser]Unknown[/eluser]
Hey,

I've found the on my site sometimes sessions expire randomly. After further looking into this I've found the cause to be when the session class gets initializing twice, randomly in one page load. When this happens the cookie it gets to check if your current session is active can sometimes be the old session ID and causes your current session to expire but keeps your old session alive in the database. I was wondering if any of you know what would cause the session class to be started up twice?

Thanks for any help and I know there are topics about the sessions not working but this is for a specific point with the class.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.