Welcome Guest, Not a member yet? Register   Sign In
What is the file name of the cookie?
#1

[eluser]whygod[/eluser]
Okay I"m trying to save a cookie using these codes below,
Code:
<?php
//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,
Code:
C:\Users\(User-Name)\AppData\Roaming\Microsoft\Windows\Cookies

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.
#2

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




Theme © iAndrew 2016 - Forum software by © MyBB