onload redirect not working on Windows Server 2003

R

robertst

I have an asp page that looks like the following (simplified):

<HTML>
<HEAD></HEAD>
<BODY onLoad="javascript:document.frmSub.submit();">
<FORM NAME="frmSub" action="http://www.microsoft.com" METHOD="post">
<INPUT TYPE="Hidden" NAME="OrderNumber" VALUE="0">
</FORM>
</BODY>
</HTML>

I am just trying to automatically redirect to another page and post some
form data. This worked fine on a Windows 2000 server. We recently upgraded
to Windows Server 2003. The page works fine when it is accessed via
"http://" but not via "https://". The browser just shows a blank page and
hangs. If I do a "View Source", the code above shows up, but it just doesn't
redirect like it's supposed to.
Is there some security issue on Windows Server 2003 that is causing this to
fail? Is there some setting I can change to fix it?

Thanks!!
 
D

Dave Anderson

http://www.aspfaq.com/etiquette.asp?id=5003
I have an asp page that looks like the following (simplified):

<HTML>
<HEAD></HEAD>
<BODY onLoad="javascript:document.frmSub.submit();">
<FORM NAME="frmSub" action="http://www.microsoft.com" METHOD="post">
<INPUT TYPE="Hidden" NAME="OrderNumber" VALUE="0">
</FORM>
</BODY>
</HTML>

[snip]

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top