In my html pages, I have a frameset which contains 2 frames. All pages are from the same domain – I have verified this by doing alert(document.domain) in each frame.
However, when loading a new page into one of the frame, I got permission denied error at the line of code in the new page’s onload event handler:
top.callUnload = false;
callUnload is a boolean variable defined in the top window.
For debugging purpose, I also verified that my IE security settings are low enough to allow cross-domain scripting. But that does not resolve the permission denied issue.
To make this more weird, this problem only happens for one of my servers. This problem does not occur on a different web server. Any idea about what configuration in the apache web server might cause this? How can I get rid of this error? I am totally lost now.
Thanks a million!!