View Single Post
Old 2009-10-06, 10:36 PM   #32
MadCat
If something's hard to do, then it's not worth doing
 
MadCat's Avatar
 
Join Date: Sep 2008
Location: Berlin, Germany
Posts: 247
Quote:
Originally Posted by bluebrit View Post
From what I understand, cookie lengths are set using the cookie default expiry date, (tell me if I'm wrong).

That being the case why did these results give such odd figures?
Is this something to do with the servers interpreting the time after a figure has been inserted?

Surely a whole number for the day, week, month or year would be much easier to insert for the expiration time.
Basically it's a matter of timezones. Cookie expiry dates are in a format that's a bitch to parse (sort of), and includes a timezone. So when you start going into timezone math, things can get a bit odd. Also you can get the 2 seconds bits because my server might not be as up-to-date on it's time as the origin server. For the sake of being "complete" and open about what the checker does, you get to see the date as the server sees it, including any odd little numbers
__________________
What's blue and not heavy?
MadCat is offline   Reply With Quote