FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » cookie date format
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
cookie date format [message #4832] Thu, 08 August 2002 16:35 Go to previous message
dtype is currently offline  dtype   United States
Messages: 11
Registered: August 2002
Karma:
Junior Member
I got this from one of my users who couldn't login using a particular browser. It seems legit:

"
ok, i sniffed the communication, and everything looked right except that
netscape 4.78 for some reason refuses to accept the cookie... i suspect
that it is because the cookie's 'expires' setting is using a combination
of RFC822 and RFC850 (rather than purely one of them) i think... but this
"should" be ok... either way, i then tried using mozilla at work (v1.0)
instead of mine at home (v0.9) and that works! so now i know that i just
have to use mozilla.

if the forum code is yours, i would probably change it to be strict RFC822
compliant, meaning that instead of generating
"expires=Thu, 15-Aug-02 15:45:18 GMT"
you need to create
"expires=Thu, 15 Aug 02 15:45:18 GMT"
but this seems like a ridiculously simple difference that "can't possibly
cause an error"... ;) or better yet would be to go with RFC2822 (the
updated version of 822), which basically just adds 4 digit year, and
changes the zone to be offset-based instead of only GMT. so:
"expires=Thu, 15 Aug 2002 15:45:18 +0000"
but then again, RFC822's date would be more compatible with older
browsers.
"
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: error in 2.2.5
Next Topic: CSS issues
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 00:56:06 GMT 2024

Total time taken to generate the page: 0.04295 seconds