Thursday, November 8, 2001 05:47 PM
I am trying to set a cookie from Java.
JSObject myBrowser = JSObject.getWindow(this);
JSObject myDocument = (JSObject) myBrowser.getMember("document");
myDocument.setMember("cookie","name=mynamehere;expires=Sat Dec 08 19:56:24 JST 2001;");
Above is running in Netscape 4.7.
Where as in IE 5.5,
I am getting the following exception, while executing setMember.
If you have any idea, please help.