HOWTO Post to a web page like an HTA with target=_blank
HOWTO Post to a web page like an HTA with target=_blank
Please help,
I'm trying to build 2 web pages in a CGI app, where web page A uses a
standard FORM to post to web page B via something like this:
<form
method=post
action="MyCgi.exe"
target=_blank
>
<input type=hidden name=WHICH_PAGE_DO_I_GO_TO value="Page B">
</form>
I want page B to come up like HTA's can, where HTA's can make the web page
come up maximized, with no browser (IE-Browser) buttons at all. That is, no
IE toolbar which holds buttons like BACK, REFRESH, etc, no IE menu bar with
FILE, EDIT, TOOLS, etc.
I do not know how to do this. I would imagine that the HTTP header written
by my CGI will need to say something different for the Content-Type, which of
course is no set as:
Content-Type: text/html
Obviously, I can not change the "action=MyCgi.hta" as it is an CGI
application. I also really can't change the need for the FORM as script on
the page changes that hidden element to set which page to go to. So things
like showModelessDialog/showModalDialog/createPopup, and others are not
really an option, sadly. In fact, if anything I want the new page "B" to
REALLY popup into a TRULY seperate IE browser session.
Can I change the Content-Type in the HTTP header to make the browser think
this is an HTA? Maybe I can use script to hide the Browser tooldbars? What
about making the page "B" open in a TRUELY seperate session of IE, so that if
"A" is closed, "B" still stays around. Likewise if "B" crashes for whatever
reason, "A" is not affected.
date: Mon, 12 Dec 2005 13:23:02 -0800
author: ATS