I'm adding a header for Set-Cookie manually, in VBScript, so that I can include HttpOnly
.
When I make a Set-Cookie
header that includes this expires
value:
expires=5/13/2010 9:57:35 AM;
Internet Explorer 8 does not set the cookie (FireFox does). This is what expires
date formatting look like when set by Response.Cookies("cookieName").Expires:
expires=Tue, 01-Jan-1980 08:00:00 GMT;
How can I format the first date so that it looks like the second date?
Thanks.