Can't Set cookies from SVG using NS 4.7 - TechRepublic
General discussion
October 3, 2002 at 03:01 AM
knight

Can’t Set cookies from SVG using NS 4.7

by knight . Updated 23 years, 9 months ago

I have some javascript in my SVG code which sets
a cookie and later gets it. This works without
problem on IE 5.5 but it doesn’t work on NS 4.7.
I am using the standard set_cookie, get_cookie
functions which are in the Javascript definitive guide. When “document.cookie” is accessed, the
Javascript hangs. I tried using top.document.cookie but had the same result. I am
able to see document.bgColor but not document.lastModified.
I am able to set/get cookies with the same functions if I do it from an HTML file. Is this a
4.7 problem or what? Any ideas would be much appreciated.

This discussion is locked

All Comments