Welcome Guest, Not a member yet? Register   Sign In
Destroy Session on Browser Close
#7

[eluser]skunkbad[/eluser]
[quote author="neofactor" date="1254718539"]But that is my point...

Most people close a browser instead of logging out.
Typical websites do it right... a session times out after a set period of time... and if you close your browser, your session is dead.

CI needs a hack to kill a session on browser close, and if you do that... there is no time out. It is one or the other... which seems strange.[/quote]

This is one reason to use the standard php $_SESSION. I do like the CI flash sessions, but find myself using $_SESSION quite a bit. What's wrong with $_SESSION anyway? I think a framework is supposed to make life easier, not harder, and there's nothing particularly hard about using $_SESSION.


Messages In This Thread
Destroy Session on Browser Close - by El Forum - 09-20-2009, 05:05 PM
Destroy Session on Browser Close - by El Forum - 09-20-2009, 05:26 PM
Destroy Session on Browser Close - by El Forum - 10-04-2009, 05:01 AM
Destroy Session on Browser Close - by El Forum - 10-04-2009, 05:09 AM
Destroy Session on Browser Close - by El Forum - 10-04-2009, 03:50 PM
Destroy Session on Browser Close - by El Forum - 10-04-2009, 05:55 PM
Destroy Session on Browser Close - by El Forum - 10-04-2009, 06:13 PM
Destroy Session on Browser Close - by El Forum - 10-04-2009, 07:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB