Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB