Welcome Guest, Not a member yet? Register   Sign In
session
#4

[eluser]kurucu[/eluser]
PHP sessions would not delete custom files or rows in the database, only session data just like CodeIgniter.

However, the solution is the same as bretticus suggested: run a cron that looks for expired sessions, and performs the cleanup for you. The problem is that you'll have to manually decode (serialise) session data and that assumes you store the userdata in the database. If you are not, then knowing which user maps to which session ID would be very difficult/impossible. It all depends on how you've keyed those files and rows in your database.


Messages In This Thread
session - by El Forum - 09-06-2009, 04:03 PM
session - by El Forum - 09-06-2009, 09:39 PM
session - by El Forum - 09-06-2009, 09:41 PM
session - by El Forum - 09-07-2009, 08:10 AM
session - by El Forum - 09-07-2009, 10:01 AM
session - by El Forum - 09-07-2009, 11:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB