adouglas
08-22-2002, 06:43 PM
Hi,
I've got an ASP project which I need to be able to run inside a frame on a webpage. Trouble is, one of my ASP pages submits a form to a secure site. Because you can't mix the HTTP and HTTPS protocols (as far as I'm aware, anyway) I have to submit to the secure site using "target=_top" to show it in a full page. After this secure site has done its thing, it then submits back to the original site which has my ASP pages running inside the frame.
Unfortunately for me, this means that only the main page receives the submit from the secure site, so my code in the frame can't just use Request.Form(...) to see the values that were submitted back from the secure site. Is there some way that I can "see" outside the frame to get values that were submitted to the parent page?
I could probably write some script in the parent page to get the values out of Request.Form(...) and pass them into the frame via a querystring, but part of the idea of this project is to make it as simple as possible to be able to integrate it into any number of frames-supporting websites, which means we don't want to have to be writing script all over every website we want to add this to. We'd like to just be able to display my ASP pages in a frame on the website and have them self-contained from there.
I've got an ASP project which I need to be able to run inside a frame on a webpage. Trouble is, one of my ASP pages submits a form to a secure site. Because you can't mix the HTTP and HTTPS protocols (as far as I'm aware, anyway) I have to submit to the secure site using "target=_top" to show it in a full page. After this secure site has done its thing, it then submits back to the original site which has my ASP pages running inside the frame.
Unfortunately for me, this means that only the main page receives the submit from the secure site, so my code in the frame can't just use Request.Form(...) to see the values that were submitted back from the secure site. Is there some way that I can "see" outside the frame to get values that were submitted to the parent page?
I could probably write some script in the parent page to get the values out of Request.Form(...) and pass them into the frame via a querystring, but part of the idea of this project is to make it as simple as possible to be able to integrate it into any number of frames-supporting websites, which means we don't want to have to be writing script all over every website we want to add this to. We'd like to just be able to display my ASP pages in a frame on the website and have them self-contained from there.