Jump to content

COOKIE HELP


chevys

Recommended Posts

I have a site that sets 2 cookies the first one is:

 

setcookie("trupimp",$user[2]);

 

The second is the following:

 

setcookie("trupimpn",$player[1]);

 

How do i format these 2 cookies to expire if the browser is ever closed?  Thanks to anyone that can assist me.

 

[Player1] inserts the cookie into the database table

[user2] inserts the cookie into another table on the database

Link to comment
https://forums.phpfreaks.com/topic/154101-cookie-help/
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.