473,385 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

onload redirect not working on Windows Server 2003

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!!
Jul 22 '05 #1
1 1906
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.
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Robert Gordon | last post by:
I now realize I probably should have tried posting this on the IIS board first.. I am running OWA 2003 Server as Front End server to my Exchange 2000 native domain. The FE server is secured by...
2
by: shree | last post by:
Hi all, I'm trying to call javascript function via onLoad but running into a problem. I would appreciate any help and suggestion. My application is as follows. When a page loads, I want to check...
1
by: Paul Turley | last post by:
I have a working ASP.Net application that behaves oddly only on the new production server. The vast majority of code runs behind web user controls that sit on aspx pages. On my Login_Page.aspx...
2
by: Brian | last post by:
I'm trying to response.redirect to another page on a button click event and I get an error message stating that the thread was being aborted (if I trap for the error that is...) I've researched...
0
by: HegdeS | last post by:
Hi there, we have a strange problem of logging into an ASP.NET Application deployed in Windows 2003 server. The environment is like this: ASP.NET Application is deployed in Windows 2003...
2
by: mark mcfarlane | last post by:
I have a simple button on a page with a Response.Redirect("http://www.microsoft.com"); in the call back. There's lotsof other stuff going on on the page, but not in this buttonPress method....
2
by: deisner | last post by:
All- I have a Framework 2.0 application running under Windows 2003 Server and IIS utilizing the default application pool. On my development machine (XP w/ IIS 5.1) the code runs perfectly. But...
0
by: tf_group | last post by:
hi i've developed a asp.net web application using vs2003 and 1.1 framework. The site is using forms based authenication. The site is working correctly on my win xp pro development machine....
4
by: JDS | last post by:
I am a newbie to asp.net but have done traditional vb, asp and vb.net - please forgive any dumb questions! As a test I have a very simple page (Default.aspx) with a single button which then...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.