I am trying to store the object reference to a window in a cookie to allow persistance throughout my site. I assign the objref to a var and set the cookie correctly but the cookie shows [object] rather than a reference to the object. As a result any subsequnt call to my window based on the cookie value fails as it doesn't actually have the object reference.
How do I convert the Object reference so that it can be stored in the cookie correctly. I have enclosed what I am currently doing to set the value below (obviously I am not actually using "etc" and am setting the expiry and domain):
var windowHandle = window.open(url,"etc","etc"
;
SetCookie('helpHandle',windowHandle,largeExpDate,myDomain);
Any help would be much appreciated, I have trawled the web to no avail,
Leigh
How do I convert the Object reference so that it can be stored in the cookie correctly. I have enclosed what I am currently doing to set the value below (obviously I am not actually using "etc" and am setting the expiry and domain):
var windowHandle = window.open(url,"etc","etc"
SetCookie('helpHandle',windowHandle,largeExpDate,myDomain);
Any help would be much appreciated, I have trawled the web to no avail,
Leigh