onload redirect not working on Windows Server 2003

Discussion in 'ASP General' started by robertst, Jun 23, 2005.

  1. robertst

    robertst Guest

    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!!
     
    robertst, Jun 23, 2005
    #1
    1. Advertising

  2. http://www.aspfaq.com/etiquette.asp?id=5003

    robertst wrote:
    > 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.
     
    Dave Anderson, Jun 23, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fabio R.
    Replies:
    0
    Views:
    842
    Fabio R.
    Mar 25, 2005
  2. gaurav tyagi
    Replies:
    14
    Views:
    1,374
    gaurav tyagi
    Jan 20, 2006
  3. David Otton

    window.onload and body.onload differences

    David Otton, Nov 4, 2004, in forum: Javascript
    Replies:
    2
    Views:
    614
    Martin Honnen
    Nov 4, 2004
  4. Replies:
    5
    Views:
    316
    Thomas 'PointedEars' Lahn
    May 15, 2005
  5. marco

    onload -->* no onload

    marco, Jun 22, 2006, in forum: Javascript
    Replies:
    7
    Views:
    228
    marco
    Jun 24, 2006
Loading...

Share This Page