Welcome Guest, Not a member yet? Register   Sign In
Yet another problem with Session with DB
#2

[eluser]WanWizard[/eluser]
Garbage collection is run automatically at set times by the session class, nothing you should be handling yourself. By default every session library load there's a 1 in 20 chance it will start.

You can alter that by using a MY_Session:
Code:
class MY_Session extends CI_Session
{
    var $gc_probability = 5; // any value between 0 (never) and 100 (always)
}


Messages In This Thread
Yet another problem with Session with DB - by El Forum - 04-19-2011, 10:30 AM
Yet another problem with Session with DB - by El Forum - 04-19-2011, 10:40 AM
Yet another problem with Session with DB - by El Forum - 04-19-2011, 10:53 AM
Yet another problem with Session with DB - by El Forum - 04-19-2011, 01:56 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 02:12 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 02:17 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 02:24 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 03:51 PM
Yet another problem with Session with DB - by El Forum - 04-20-2011, 07:10 PM
Yet another problem with Session with DB - by El Forum - 04-21-2011, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB