Welcome Guest, Not a member yet? Register   Sign In
Change session expiration after initialisation?
#2

[eluser]Jondolar[/eluser]
You may want to use a separate cookie instead of a session cookie. You can then set the expiration of the cookie after you authenticate. If you use the session class, you need to configure a session timeout globally. You could set this to the maximum and then use data from the session to determine if the account should time out earlier (kind of backwards).


Messages In This Thread
Change session expiration after initialisation? - by El Forum - 08-18-2009, 06:09 AM
Change session expiration after initialisation? - by El Forum - 08-18-2009, 02:32 PM
Change session expiration after initialisation? - by El Forum - 08-18-2009, 02:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB