08-26-2010, 01:45 PM
It's better to set a cookie
Close browser=destroy session. Use a cookie keeps them logged in that one up there lasts an hour.
PHP Code:
setcookie("auth", 1, time()+3600);
Close browser=destroy session. Use a cookie keeps them logged in that one up there lasts an hour.