Hi all
Quick overview:
I have a page (parent.asp) that spawns a child window containing child.asp. Child.asp is a page with a form containing nothing but a button (button2) and a text field.
When button 2 is pressed it sticks some text in the text field.
When button 1 is pressed some javascript is called to click button 2 on the child window (child.asp).
This all works perfectly. You probably know where I'm going next.....
When I move child.asp to a different site (and of course update parent.asp with the new url) I recieve a javascript "Access is Denied error".
This, to be honest, is not suprising. It allows you to remotely manipulate other peoples forms and thus perhaps breaching security. Although a decent site would have server side validation anyway....
Sorry, I digress :)
Basically, I need something like this to work. Either javascript or other. Here's what I need:
The ability of a web page to upload a file to another site.
The 'true' upload form needs to be hidden from the user.
We have have full admin access to all servers hosting the sites. All windows based running 2k or 2k3 server. All pages are written in asp. ASPUpload is used to do the actual uploading.
This is the score.
We have an online product allowing clients to create content. Some of this content is flash. Some of the flash has an 'upload' feature. The flash happily talks to the javascript on the page. But the files to be uploaded will not be uploaded to the same server as the site. We already have it working on the same site but the files MUST be uploaded to a content server. Flash is used to control the upload bit cos we can control how long the 'browse and upload' feature is displayed before time is up.
It would be a simple solution to just give the user access to the popup to click browse and submit, but this can't happen. Flash must be able to control it as flash can control the time.
Any work arounds with javascript? I'd like to use this method as we already have it working ok locally.
Any alternatives? Bear in mind we got full admin access to all servers.
Any help will be greatly appreciated.
cheers
Jude
Start Free Trial