hi,
var x=date.toGMTString(); bringt "Mon, 2 May 2007 19:02:28 UTC"
und funzt nicht.Es funktioniert aber mit expires="Mon, 2-May-07 19:02:28 UTC"
wenn ich die Cookie-Spezifikation von Netscape da richtig deute, wäre beides nicht korrekt:
The date string is formatted as:
Wdy, DD-Mon-YYYY HH:MM:SS GMT
This is based on RFC 822, RFC 850, RFC 1036, and RFC 1123, with the variations that the only legal time zone is GMT and the separators between the elements of the date must be dashes.
"the only legal time zone is GMT" - GMT wäre demnach die einzig erlaubte angabe für die zeitzone, wenn ich das richtig übersetze.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }