473,473 Members | 2,319 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Redirect Hangs with Linked Files

I have an ASP script that is called from a PDF form to process form data. On
the last line of the script I have a Response.Redirect "webpage.asp" that
leads to another target page with actual HTML. However when I start this
process (by submitting form data) even when I comment out the processing
code, the address bar shows the desired page, but the page never appears and
the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press Refresh
the page appears immediately.

I've found that if I remove all the HTML code that has links to other files
(images, javascript, stylesheets) that the target page loads promptly from
the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets lost
looking those other files.

Thanks for any tips.
Jul 19 '05 #1
8 3262
My guesses are that you're redirecting a page to itself, have an endless
loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
I have an ASP script that is called from a PDF form to process form data. On the last line of the script I have a Response.Redirect "webpage.asp" that
leads to another target page with actual HTML. However when I start this
process (by submitting form data) even when I comment out the processing
code, the address bar shows the desired page, but the page never appears and the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press Refresh
the page appears immediately.

I've found that if I remove all the HTML code that has links to other files (images, javascript, stylesheets) that the target page loads promptly from
the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets lost looking those other files.

Thanks for any tips.

Jul 19 '05 #2
I do have Norton but with Script Blocking OFF, no FSO code. The same thing
(hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
My guesses are that you're redirecting a page to itself, have an endless
loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
I have an ASP script that is called from a PDF form to process form data.
On
the last line of the script I have a Response.Redirect "webpage.asp"

that leads to another target page with actual HTML. However when I start this
process (by submitting form data) even when I comment out the processing
code, the address bar shows the desired page, but the page never appears

and
the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press Refresh the page appears immediately.

I've found that if I remove all the HTML code that has links to other

files
(images, javascript, stylesheets) that the target page loads promptly from the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets

lost
looking those other files.

Thanks for any tips.


Jul 19 '05 #3
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:ea*************@TK2MSFTNGP11.phx.gbl...
I do have Norton but with Script Blocking OFF, no FSO code. The same thing
(hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
My guesses are that you're redirecting a page to itself, have an endless
loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
I have an ASP script that is called from a PDF form to process form data.
On
the last line of the script I have a Response.Redirect "webpage.asp" that leads to another target page with actual HTML. However when I start this process (by submitting form data) even when I comment out the processing code, the address bar shows the desired page, but the page never
appears and
the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press

Refresh the page appears immediately.

I've found that if I remove all the HTML code that has links to other

files
(images, javascript, stylesheets) that the target page loads promptly from the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets

lost
looking those other files.

Thanks for any tips.



Jul 19 '05 #4
The snippet below was named test.htm and the ASP code redirected to that
file..

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:ea*************@TK2MSFTNGP11.phx.gbl...
I do have Norton but with Script Blocking OFF, no FSO code. The same thing
(hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
My guesses are that you're redirecting a page to itself, have an endless loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
> I have an ASP script that is called from a PDF form to process form

data.
On
> the last line of the script I have a Response.Redirect "webpage.asp"

that
> leads to another target page with actual HTML. However when I start this > process (by submitting form data) even when I comment out the processing > code, the address bar shows the desired page, but the page never appears and
> the flag keeps spinning indefinitely (and doesn't stop even after 15
> minutes). When I finally press Escape to stop it and then I press

Refresh
> the page appears immediately.
>
> I've found that if I remove all the HTML code that has links to other files
> (images, javascript, stylesheets) that the target page loads promptly from
> the same Redirect method.
>
> Does anyone know what could be causing this? It seems IE (or IIS)

gets lost
> looking those other files.
>
> Thanks for any tips.
>
>



Jul 19 '05 #5
So, if you have these two files:

test.asp:

<% Response.Redirect "test.htm" %>
test.htm:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>
and load test.asp, IE hangs on the redirect?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:OJ****************@TK2MSFTNGP09.phx.gbl...
The snippet below was named test.htm and the ASP code redirected to that
file..

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:ea*************@TK2MSFTNGP11.phx.gbl...
I do have Norton but with Script Blocking OFF, no FSO code. The same thing (hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
> My guesses are that you're redirecting a page to itself, have an endless > loop in a page, or are using the FSO and suffering from
> http://www.aspfaq.com/search.asp?q=n...cript+blocking
>
> Ray at work
>
> "Don Miller" <no****@nospam.com> wrote in message
> news:uR**************@TK2MSFTNGP12.phx.gbl...
> > I have an ASP script that is called from a PDF form to process form data.
> On
> > the last line of the script I have a Response.Redirect "webpage.asp" that
> > leads to another target page with actual HTML. However when I start
this
> > process (by submitting form data) even when I comment out the

processing
> > code, the address bar shows the desired page, but the page never

appears
> and
> > the flag keeps spinning indefinitely (and doesn't stop even after
15 > > minutes). When I finally press Escape to stop it and then I press
Refresh
> > the page appears immediately.
> >
> > I've found that if I remove all the HTML code that has links to

other > files
> > (images, javascript, stylesheets) that the target page loads promptly from
> > the same Redirect method.
> >
> > Does anyone know what could be causing this? It seems IE (or IIS) gets > lost
> > looking those other files.
> >
> > Thanks for any tips.
> >
> >
>
>



Jul 19 '05 #6
Yes. When the PDF form is submitted to test.asp (exactly as below), it tries
unsuccesfully to completely load test.htm. When I hit Escape it stops trying
and when I press F5(refresh) the page loads immediately, image and all.

When I remove the <img> element from test.htm, and submit the PDF form to
test.asp, test.htm appears immediately. Go figure.

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uH**************@TK2MSFTNGP11.phx.gbl...
So, if you have these two files:

test.asp:

<% Response.Redirect "test.htm" %>
test.htm:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>
and load test.asp, IE hangs on the redirect?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:OJ****************@TK2MSFTNGP09.phx.gbl...
The snippet below was named test.htm and the ASP code redirected to that
file..

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:ea*************@TK2MSFTNGP11.phx.gbl...
> I do have Norton but with Script Blocking OFF, no FSO code. The same thing
> (hanging) happens when I redirect to a simple HTML file like:
>
> <html>
> <body>
> Here's the page
> <img border="0" src="images/picture.gif">
> </body>
> </html>
>
> When I take out the <IMG> section it works fine.
>
> Something to do with the header, or buffer, or ??????
>
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message > news:%2****************@TK2MSFTNGP11.phx.gbl...
> > My guesses are that you're redirecting a page to itself, have an

endless
> > loop in a page, or are using the FSO and suffering from
> > http://www.aspfaq.com/search.asp?q=n...cript+blocking
> >
> > Ray at work
> >
> > "Don Miller" <no****@nospam.com> wrote in message
> > news:uR**************@TK2MSFTNGP12.phx.gbl...
> > > I have an ASP script that is called from a PDF form to process form > data.
> > On
> > > the last line of the script I have a Response.Redirect "webpage.asp" > that
> > > leads to another target page with actual HTML. However when I start this
> > > process (by submitting form data) even when I comment out the
processing
> > > code, the address bar shows the desired page, but the page never
appears
> > and
> > > the flag keeps spinning indefinitely (and doesn't stop even after 15
> > > minutes). When I finally press Escape to stop it and then I
press > Refresh
> > > the page appears immediately.
> > >
> > > I've found that if I remove all the HTML code that has links to

other
> > files
> > > (images, javascript, stylesheets) that the target page loads

promptly
> from
> > > the same Redirect method.
> > >
> > > Does anyone know what could be causing this? It seems IE (or

IIS) gets
> > lost
> > > looking those other files.
> > >
> > > Thanks for any tips.
> > >
> > >
> >
> >
>
>



Jul 19 '05 #7
You're right. That makes no sense. You actually see the .htm URL in your
browser? What is it that made you think to remove the <IMG> tag to debug
this as opposed to trying other things? That seems like an odd first step
or even twentieth step. If you do a view-source while the .htm page is
supposedly loading in IE, do you get a source?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:OQ**************@TK2MSFTNGP10.phx.gbl...
Yes. When the PDF form is submitted to test.asp (exactly as below), it tries unsuccesfully to completely load test.htm. When I hit Escape it stops trying and when I press F5(refresh) the page loads immediately, image and all.

When I remove the <img> element from test.htm, and submit the PDF form to
test.asp, test.htm appears immediately. Go figure.

Jul 19 '05 #8
> You actually see the .htm URL in your
browser?
Yes, in the address window. And I see "Opening page
http://website/test.htm... in the lower left window.
If you do a view-source while the .htm page is
supposedly loading in IE, do you get a source?
Yes. It's the exactly the same as the .htm code.
What is it that made you think to remove the <IMG> tag to debug
this as opposed to trying other things? That seems like an odd first step
or even twentieth step.
I'm on my 1000th step : (

Early on I created simple test target pages that worked (without graphics or
stylesheets or javascript files), then when I put real pages in, it hanged
(or hung?) Then, I just deleted chunks of HTML code (in a binary fashion)
till I got a page that worked.

I think that the Adobe submit form data code is doing something as I have
other ASP applications that don't have this redirection problem at all.

I thought someone might understand the nuts and bolts of web pages,
downloading images, etc. might know a way to fix whatever Adobe screwed
up????


"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl... You're right. That makes no sense. You actually see the .htm URL in your
browser? What is it that made you think to remove the <IMG> tag to debug
this as opposed to trying other things? That seems like an odd first step
or even twentieth step. If you do a view-source while the .htm page is
supposedly loading in IE, do you get a source?

Ray at work

"Don Miller" <no****@nospam.com> wrote in message
news:OQ**************@TK2MSFTNGP10.phx.gbl...
Yes. When the PDF form is submitted to test.asp (exactly as below), it

tries
unsuccesfully to completely load test.htm. When I hit Escape it stops

trying
and when I press F5(refresh) the page loads immediately, image and all.

When I remove the <img> element from test.htm, and submit the PDF form to test.asp, test.htm appears immediately. Go figure.


Jul 19 '05 #9

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

Similar topics

1
by: Jarrod | last post by:
Hi all, Just wondering if you would be able to help me out with a bit of a problem I am having. I am apparently running IIS 5.1 on my computer (win xp pro) and all of a sudden ASP pages won't...
3
by: Don Miller | last post by:
I used a Response.Redirect "page.asp" as the last command in ASP code that processes a submitted form from an Adobe PDF form (using HTML format). For some reason, if there is any linked file...
0
by: iqbal | last post by:
Hi, I have 2 sql servers (A and B) and have established a link between them using sp_addlinkedserver. I have created a table (test) on sql server A. I have created a view (test) on sql server B...
2
by: Brian Salentine | last post by:
Hi - We have two SQL 2000 Servers. We have the linked server setup and we can perform updates and inserts between the databases. But when we add a trigger and insert something into a table, the...
9
by: Klem | last post by:
Hi I am expiriancing a very,very strange problem. I have an asp.net application that hangs (sometimes) when trying to execute Response.Redirect("page.aspx",true) command. What is very strange...
5
by: =?Utf-8?B?d2ViZ3V5QGNvbW11bml0eS5ub3NwYW0=?= | last post by:
We have been running into some problems where using Response.Redirect causes the page to hang and it never actually redirects. Here's the scenario: User opens the page, selects an item from the...
0
by: Arno Stienen | last post by:
Perhaps I should be a bit more specific. When using this code to connect to a remote XML-RPC server (C++, xmlrpc++0.7 library): import xmlrpclib server =...
3
by: =?Utf-8?B?UGF0UA==?= | last post by:
We have a site that gets many requests for nonexistent pages, files and folders. We want those requests redirected to the index page. However, for static files (i.e. images and some other...
2
by: Patrick Finnegan | last post by:
Running db2 8.2 ON aIX 5.3. We have a third party USEREXIT program that periodically hangs for some unknown reason. Db2 generates error message to the diag log. MESSAGE : Successfully...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.