Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. runtime error when modifying parent variables after posting data

runtime error when modifying parent variables after posting data

Scheduled Pinned Locked Moved Web Development
helpjavascripthtmlsysadminwindows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haritadala
    wrote on last edited by
    #1

    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.

    J 1 Reply Last reply
    0
    • H haritadala

      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.

      J Offline
      J Offline
      Jagadeesh VN
      wrote on last edited by
      #2

      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."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups