473,404 Members | 2,174 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,404 software developers and data experts.

Response.Flush / Response.Redirect

Hi,

I've had a good google and can't find anything already on this so :

I'm currently trying to have a 'Page Loading' page on a site. The way things
are supposed to work are :

page a -->page b (Page Loading) --> page c

I, cannot, for some reason get 'page b' to Response.Redirect to 'page c' one
the process has taken place.

I understand that I have already written the page headers etc. to the user
and that Response.Redirect would not normally work once this has taken
place. I've currently got around the problem by using a JavaScript onLoad
function but I am a bit hesitant about this because of browser compatibility
issues.

Is there a failsafe ASP way of doing this ?

Thanks

Richard
Jul 19 '05 #1
1 2828
No, because what you are doing is a client-side activity.
The Javascript is probably the "best" way of doing it.

"Richard N." <ri*****@NOSPAMPLEASEbrandlink.co.uk> wrote in message
news:bm**********@titan.btinternet.com...
Hi,

I've had a good google and can't find anything already on this so :

I'm currently trying to have a 'Page Loading' page on a site. The way things are supposed to work are :

page a -->page b (Page Loading) --> page c

I, cannot, for some reason get 'page b' to Response.Redirect to 'page c' one the process has taken place.

I understand that I have already written the page headers etc. to the user
and that Response.Redirect would not normally work once this has taken
place. I've currently got around the problem by using a JavaScript onLoad
function but I am a bit hesitant about this because of browser compatibility issues.

Is there a failsafe ASP way of doing this ?

Thanks

Richard

Jul 19 '05 #2

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

Similar topics

0
by: Copa | last post by:
Hello, I am testing buffering an asp page and Flushing information out to the browser, hence i wrote the code in an asp page that follows this Message Post. The loops are suppose to simulate...
7
by: Jon Spivey | last post by:
Experimenting with response.flush() but can't seem to get it to work. This code <% response.write "<p>started</p>" response.flush() for i = 1 to 10000000 i = i +1 next response.write...
3
by: Gary | last post by:
I am having a strange problem that I cannot solve. I have an asp page that I use for a user to login and gain access to other pages. When the user logs in I set a couple of session variables like...
11
by: Stephen | last post by:
I was wondering if someone can help me with an web application design problem. I have a aspx page which builds up an arraylist called addresses and outputs the values in the arraylist items to a...
2
by: tesn | last post by:
i have an aspx page, i do a response.write ( some html) then response.flush( an error occurs (and on my webconfig i have <customErrors mode="On" defaultRedirect="./Error.aspx" > Then i do a...
1
by: Martin Lee | last post by:
I know that this is something of an old chestnut. Nevertheless, my problem is as follows; I have a page in which I write html out to the client using Response.Write(), followed by...
2
by: Glen Wilkin via DotNetMonster.com | last post by:
Is there a way I can call Response.Redirect after I've done a Response.Flush? I send some html to load an animated gif that plays whilst my page loads, it has some extensive database calls to...
12
by: Jim Rodgers | last post by:
I have a big asp file that has an error under certain conditions -- totally repeatable. However, it only fails when I set response.buffer = True at the top. WHen I set it False in order to debug...
3
by: Jim Rojas | last post by:
I am running IIS v6.1 on a virtual hosting server. Changing the default metabase value is out of the question. Can someone tell me how I can fix this script? Thank you. <% set conn =...
5
by: danielhamd | last post by:
I have a link on an ASP page that loads the Response stream with a .vcs file stream and then sends it to the clients machine. This opens the calendar entry in their Outlook, etc. However, once...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.