Jump to content

Cookie_Expire ?


czukoman20

Recommended Posts

depends on what you want. normally, when dealing with dates you are using the unix timestamp, which is in seconds. so you want the number of seconds in 10 minutes to add to it.

define("COOKIE_EXPIRE", 60*10); //60 seconds per minute * 10 minutes

but again...the above is arbitrary unless you tell us how it is used

Link to comment
https://forums.phpfreaks.com/topic/110624-cookie_expire/#findComment-567549
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.