Jump to content

Cookies problem...


xyn

Recommended Posts

Hey Guys,
I was wondering if there was a way of making my cookie code
Never expire, it's for my login, I wanted to allow people to
enable "remember me" and their username will be saved but
they 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 Days
cookie...
[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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.