Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access is denied after call to cgi script....WHY?

Status
Not open for further replies.

BigM

Programmer
Aug 30, 2000
39
GB
I have a page which comprises 2 frames. In the top frame is a form in which the user can select various processing options from drop downs. As each drop down changes a message is written to the bottom frame instructing the user what processing will be performed on submit. This works fine!

However on submitting the form calls a cgi script on a unix server and the call targets output of the cgi script to the bottom frame. This works fine!

The problem arises now if the user changes the dropdowns and an attempt is made to write info the the bottom frame...I get a Javascript Error

Error: Access is denied
Code: 0
URL: blah blah

Any help greatly appreciated as I am now desperate.
 
Make sure the cgi files are chmoded properly.
i.e. 755 or 777

SNT
 
The execution of the cgi scripts is not the problem...they run fine. The problem arises after the results of the cgi have been ouput the the bottom frame. It is when the user changes an option in the top frame and the Javascript attempts to write to the bottom frame that the error occurs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top