Is it possible to find the expiration date of the cookies in a cookie file like this one? www.*****.com FALSE / FALSE 1305467108 USERlogin username+password www.*****.com FALSE / FALSE 1305467108 setup username www.*****.com FALSE / FALSE 1305467108 cookie www.*****.com/sentry FALSE / FALSE 1305467108 cookie Or isn't it possible to find the expiration from the content of the cookie files?
It depends which browser you are using. Chrome and Safari (both mac) make it very clear in the cookie list (chrome uses SQLite and Safari XML) as to when they're expiring such as: <dict> <key>Created</key> <real>324627373.22268897</real> <key>Domain</key> <string>.domain.com</string> <key>Expires</key> <date>2013-04-15T06:16:13Z</date> <key>Name</key> <string>__utma</string> <key>Path</key> <string>/</string> <key>Value</key> <string>87832776.1048535516.1302934561.1302934561.1302934561.1</string> </dict> Code (markup):
In your example, the long number in each line is a UNIX timestamp. You can convert it to a human-readable date using php's date() function or some online converter (Google 'online unix timestamp converter', you'll find a couple of websites that does that)