spazz Posted November 5, 2008 Share Posted November 5, 2008 I seem to be having a strange issue. I moved my site from a VPS to a shared server plan due to drop in activity. Since the move, it seems when the 5 minute cron runs, all users get logged out :? I have not changed any settings. My validation was always set to 15 minutes and worked fine on the vps. Is there something I am missing or could it be something on the hosts end? Quote Link to comment Share on other sites More sharing options...
POG1 Posted November 5, 2008 Share Posted November 5, 2008 Re: Getting logged out i have no idea but maybe the sessions only last for 5 minutes. Quote Link to comment Share on other sites More sharing options...
spazz Posted November 5, 2008 Author Share Posted November 5, 2008 Re: Getting logged out I hope not, it is rather annoying Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 5, 2008 Share Posted November 5, 2008 Re: Getting logged out call your host?? Quote Link to comment Share on other sites More sharing options...
spazz Posted November 5, 2008 Author Share Posted November 5, 2008 Re: Getting logged out did that, just waiting for a reply...figured I would pick the brains here in the meantime Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 5, 2008 Share Posted November 5, 2008 Re: Getting logged out lol cool, i would have done the same :-D Quote Link to comment Share on other sites More sharing options...
Floydian Posted November 5, 2008 Share Posted November 5, 2008 Re: Getting logged out Just as a general debug step, have you disabled the five minute cron to see if folks still get logged out? If they don't, run the cron manually. Then see what happens. If they still get logged out, without the cron running, then it's not the cron. ;) Quote Link to comment Share on other sites More sharing options...
spazz Posted November 5, 2008 Author Share Posted November 5, 2008 Re: Getting logged out yup :-D Still logged me out. Quote Link to comment Share on other sites More sharing options...
Floydian Posted November 5, 2008 Share Posted November 5, 2008 Re: Getting logged out It's definitely not the cron then. This page defines some session ini setting -> http://www.php.net/manual/en/session.configuration.php#ini.session.auto-start Settings you'll want to take a look at are: session.gc_probability session.gc_divisor session.gc_maxlifetime Run a <?php echo phpinfo(); script Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.