473,503 Members | 9,887 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirecting after page rendering

I am attempting to display a web page which simple
displays a 'Please wait, generating report...' message
before I redirect a user to another web page. I can't
figure out where to put the redirect code because
the 'please wait' page doesn't render to the client
browser (the message is never displayed before the
redirect). Any suggestions would be most helpful!

Thanks - Bill
Nov 18 '05 #1
2 2091
Bill,
A bunch of us have tried to accomplish this with Threads and Sessions, but
have had no luck.

The idea was to fork out a thread to do the processing. Then write some
value to the session that you were still processing. You would redirect the
user to an "in progress" page to which you've written a META tag to refresh
every x seconds. The thread, after execution would set the Session to
"complete"

On the refresh, you would check the value of the session, and go back to the
in-progress page or not.

The issue most of us came across was even though the Session was being
updated, it wouldn't be reflected when checking it's contents.

We got stumpted.

If you have any luck with this, I for one, will be VERY thankful!!
"Bill Hauver" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
I am attempting to display a web page which simple
displays a 'Please wait, generating report...' message
before I redirect a user to another web page. I can't
figure out where to put the redirect code because
the 'please wait' page doesn't render to the client
browser (the message is never displayed before the
redirect). Any suggestions would be most helpful!

Thanks - Bill

Nov 18 '05 #2
Here is a thought. Have you tried a redirect in the meta tag. Something like
this.
<meta http-equiv="Refresh" content="20;URL=http://yoururl">
You could use the Page_Unload event of the first page, which takes place
after the page is rendered to do any preprocessing to cache before the
second page is called. Just an idea .. might work.
"Bill Hauver" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
I am attempting to display a web page which simple
displays a 'Please wait, generating report...' message
before I redirect a user to another web page. I can't
figure out where to put the redirect code because
the 'please wait' page doesn't render to the client
browser (the message is never displayed before the
redirect). Any suggestions would be most helpful!

Thanks - Bill

Nov 18 '05 #3

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

Similar topics

3
2309
by: lozd | last post by:
Would appreciate any solutions people could offer for this. Basically I wan't to use a frameset with an aspx page as the contents rather than a htm page and I'd like to be able to redirect the...
1
1846
by: Bilbo | last post by:
Hello, How do I programatically redirect a page in "another frame" using C# in ASP.NET? Server.Transfer redirects the current page...not a different frame. Thanks.
4
1482
by: Greg Smalter | last post by:
Redirecting from page to page within a web project is pretty easy. However, all Redirect methods take strings as arguments, as if you mistype the string, you don't find out until run time that you...
4
2174
by: deepukutty | last post by:
HI all, I am using IE(Internet Explorer) as my default browser for asp.net application development. Today i faced a strange problem. When ever an exception occured in the page ....application...
6
1954
by: Justin.Voelker | last post by:
Can anyone clue me on on how to have my html page continue rendering past a MySQL error? If you visit www.Base2WebDesign.com, click login, type in anything for a username and password, then view...
1
1438
by: sreekeerthi | last post by:
hi friends...this is keerthi...i am doing a project where i want to redirect my page when ever the back button is clicked...for this i am using window.onbeforeunload method..and for page redirection...
41
3184
by: amygdala | last post by:
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to...
4
2791
by: damiensawyer | last post by:
Hi, I'm trying to do something in global.asax that I would have thought to be quite simple. Basically, any request at all should get sent to another page. I actually got the code below from a...
3
1396
pradeepjain
by: pradeepjain | last post by:
hii guys, i am redirecting my website to an error page when it cannot connect to mysql database .because of this the url of the page gets changed to error page url .so the user will...
0
7207
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
7294
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
7361
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
7015
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
5602
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,...
1
5026
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
4693
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
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.