Welcome Guest, Not a member yet? Register   Sign In
session destroy, not destroying session?
#2

[eluser]TheFuzzy0ne[/eluser]
No. All it does is kills the users cookie, but the userdata will remain within the session class until the end of the current request. The session will be reinitialised on the next request, and there will be no userdata available. Basically, all it does is severs the link between the user and the server session, but the data still remains until the end of the request.

If it's that much of an issue, you can do this:
Code:
$this->session->userdata = array();


Messages In This Thread
session destroy, not destroying session? - by El Forum - 02-21-2009, 03:35 PM
session destroy, not destroying session? - by El Forum - 02-21-2009, 03:56 PM
session destroy, not destroying session? - by El Forum - 02-21-2009, 04:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB