Welcome Guest, Not a member yet? Register   Sign In
Session logout Problem -- db sessions
#9

[eluser]yacman[/eluser]
natedogg, I made a mistake creating the dbsessions table and typed the lastactivity column as a timestamp, rather than an INT(10) column. This would cause all sessions to get wiped out by the random garbage collection (making it a random issue) with the db session.

You can always dig into the session controller and output debug statements, or turn debug statements on to see what's going on with the sessions controller:

/system/libraries/Session.php

_sess_gc() is what fires off when a probability occurs. Setting your config files debug level to 'debug' will start showing messages from each of the core libraries assisting you in seeing what is going on behind the scenes.


Messages In This Thread
Session logout Problem -- db sessions - by El Forum - 08-14-2009, 02:33 PM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 08:20 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 09:55 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:09 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:26 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:29 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:51 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 11:19 AM
Session logout Problem -- db sessions - by El Forum - 12-18-2009, 04:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB