runtime error when modifying parent variables after posting data
-
Hello all I've an .asp page on the server which responds with a html page whenever anybody posts data to it. I'm posting data from a IFRAME. The html page that .asp page on server gives in reponse contains code to modify the parent window's variables. This html page is trying to modify the parent window's vairables on load. The problem is whenever I'm posting data when the asp page gives the html page in reponse I'm getting "Permission denied " ERROR and it's not modifying the parent window's variable as I desired. I'm using IIS and javascript. Can anybody help me in resolving the error? Many thanks for your help. Hari.
-
Hello all I've an .asp page on the server which responds with a html page whenever anybody posts data to it. I'm posting data from a IFRAME. The html page that .asp page on server gives in reponse contains code to modify the parent window's variables. This html page is trying to modify the parent window's vairables on load. The problem is whenever I'm posting data when the asp page gives the html page in reponse I'm getting "Permission denied " ERROR and it's not modifying the parent window's variable as I desired. I'm using IIS and javascript. Can anybody help me in resolving the error? Many thanks for your help. Hari.
The parent windows variables can only be modified by another page which is thrown from the same server. Ensure this as to whether the iframe and parent frame are loaded from the same server( need to not be the same URL ). "A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."