PDA

View Full Version : Access data from opener page


naveeny
08-28-2002, 07:26 PM
I have a problem where I found some answers already search but not all the answers. I am going from an unsecured address to a secured address. However, I need to access data from the unsecured address window document.

First I tried the opener property in Javascript, but I keep getting access denied. I realized from searching that this is because the domain is different.

The next item is the cookie method. I tried using an ordinary cookie, but it doesn't show up in the new window. Am I suppose to save the cookie and then bring the cookie back up on the secured site? If should I use the escape property or the path property? I am new at Javascript right now.

requestcode
08-28-2002, 07:35 PM
You can only access the cookie from the same domain. If the secured site and the unsecured site are different domains then you will not be able to do that.