Welcome Guest, Not a member yet? Register   Sign In
Example of Remember Me Function?
#6

[eluser]WanWizard[/eluser]
Set the desired session expiration time in the config.

I have a default expiration in the config file. I use a modified version of the session library, that only does one session update, at the end of each page request. By that time, I know the user, and the user expiration preference (a sort of dynamic remember me), and I use that to modify the sess_expiration of the session. When the session is updated, the cookie is written with the proper expiration time.


Messages In This Thread
Example of Remember Me Function? - by El Forum - 07-19-2010, 09:50 AM
Example of Remember Me Function? - by El Forum - 07-19-2010, 10:14 AM
Example of Remember Me Function? - by El Forum - 07-19-2010, 10:24 AM
Example of Remember Me Function? - by El Forum - 07-19-2010, 10:28 AM
Example of Remember Me Function? - by El Forum - 08-04-2010, 11:01 PM
Example of Remember Me Function? - by El Forum - 08-05-2010, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB