xyn Posted September 20, 2006 Share Posted September 20, 2006 Hey Guys,I was wondering if there was a way of making my cookie codeNever expire, it's for my login, I wanted to allow people toenable "remember me" and their username will be saved butthey will always need to put their password in after they logout.or they become inactive...If not, Would the below code work correctly to make a 30 Dayscookie...[code=php:0]setcookie ("remme", "remember", time()+60*60*24*30, FALSE, TRUE);[/code] Link to comment https://forums.phpfreaks.com/topic/21462-cookies-problem/ Share on other sites More sharing options...
onlyican Posted September 20, 2006 Share Posted September 20, 2006 Make the cookie for 30 daysNext time they log in, reset the cookie another 30 days Link to comment https://forums.phpfreaks.com/topic/21462-cookies-problem/#findComment-95680 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.