Welcome Guest, Not a member yet? Register   Sign In
Remember Me Setting
#5

[eluser]skunkbad[/eluser]
I just use standard PHP $_SESSION to achieve the persistent login. I create a hook that starts the session, and checks for either $_POST['persistent'] or $_SESSION['persistent']. Based on this, the session duration can be set to whatever you want...

$_SESSION is good! If it ain't broke, why fix it?


Messages In This Thread
Remember Me Setting - by El Forum - 02-22-2010, 10:21 PM
Remember Me Setting - by El Forum - 02-22-2010, 10:53 PM
Remember Me Setting - by El Forum - 02-22-2010, 11:17 PM
Remember Me Setting - by El Forum - 02-22-2010, 11:24 PM
Remember Me Setting - by El Forum - 02-23-2010, 02:01 AM
Remember Me Setting - by El Forum - 02-23-2010, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB