Forum Moderators: open

Message Too Old, No Replies

IE7/8 and cookies

         

kadnan

7:29 pm on Mar 12, 2008 (gmt 0)

10+ Year Member



very simple question:

does IE7 or 8 provide Cookies feature? document.cookies always return false on IE7 even after accepting cookies from everywhere.

httpwebwitch

7:45 pm on Mar 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, of course cookies are supported.

Try


alert(document.cookie);

It's "cookie", not "cookies"

kadnan

8:03 pm on Mar 12, 2008 (gmt 0)

10+ Year Member



i wrote wrong on this forum.

document.cookie returns blank that is nothing.

MarkFilipak

1:20 am on Mar 14, 2008 (gmt 0)

10+ Year Member



> document.cookie returns blank that is nothing.

Nothing returns blank. Do you mean a zero-length string, null, what?

Edit: The cookie returns null if no such cookie exists.

[edited by: MarkFilipak at 1:21 am (utc) on Mar. 14, 2008]