Welcome Guest, Not a member yet? Register   Sign In
Refresh & no expiration cookie
#6

[eluser]RaGe10940[/eluser]
You do a check on the user name the user provided like so :

Code:
if($_POST['user'] === 'John') {
// Don't expire his session
} else {
// Expire the session like you would for every one else.
}


Messages In This Thread
Refresh & no expiration cookie - by El Forum - 05-21-2013, 08:04 AM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 08:42 AM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 08:46 AM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 08:59 AM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 09:12 AM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 09:23 AM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 12:34 PM
Refresh & no expiration cookie - by El Forum - 05-21-2013, 11:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB