Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is Safari rejecting this cookie string?



On Jul 23, 2007, at 12:34 PM, Ixkorr Oxkarr wrote:

Safari is not accepting the following cookie string:

Set-Cookie: session_id=115y8ycazjs4axw6f;
expires=Saturday, 05-Jan-2008; path=/;
domain=mydomain.com

The first thing I would do in this situation is look at the relevant spec:


http://www.ietf.org/rfc/rfc2109.txt

You'll see there that the expires= date format is:

Wdy, DD-Mon-YY HH:MM:SS GMT

Try "Sat" instead of "Saturday".

Peace,
Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >Why is Safari rejecting this cookie string? (From: Ixkorr Oxkarr <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.