Welcome Guest, Not a member yet? Register   Sign In
IN CI SESSION IS NOT DESTROYING.. EVEN ON BROWSER CLOSED !!!!!!!!
#10

[eluser]ChiefChirpa[/eluser]
[quote author="web_developer" date="1266003146"]
Also Set session Expiration value like below..
$config['sess_expiration'] = -1;

BUT Even though it's not working...[/quote]

...because your code still sets the cookie to the value of $this->sess_expiration, to get a "proper" session cookie that expires when the browser is closed, you must set the expiration of the cookie to 0.


Messages In This Thread
IN CI SESSION IS NOT DESTROYING.. EVEN ON BROWSER CLOSED !!!!!!!! - by El Forum - 02-12-2010, 09:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB