CodeIgniter Forums

Full Version: What is the file name of the cookie?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Okay I"m trying to save a cookie using these codes below,
//Calculate 60 days in the future
//seconds * minutes * hours * days + current time
$inTwoMonths = 60 * 60 * 24 * 60 + time();
setcookie('lastVisit', date("G:i - m/d/y"), $inTwoMonths);

And I also found out that the cookie is save in this path below,

By the way I'm uisng windows7 and Chrome browser.
THe problem is there are too many file names in the cookies subfolder.
How do I know which filename is these cookie codes fall into?

THanks in advanced.

El Forum

Why do you need the actual cookie path in the first place? I've never needed that in all my years of development.