[eluser]ramabodhi[/eluser]
Hello again
How do I go about having code igniter perform functions when the session ends?
example:
I am storing some information, unique to a session to too large for session variables, so I am storing it in the database using session_id as the row ID in the table..
So when the session ends (whether by closing the browser, timing out, or logging out, two of which are out of my control) I want to write a function that goes into the database and deletes anything identified by that session...
this would require my code being triggered by session destroy, but process immediately before the session is actually ended..
possible?