473,695 Members | 2,301 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

To wait for few secs before redirect

Hi,
I have a asp result page which shows that a record has been successfully
updated. After this display I need to redirect this to a different page.
However, I would like to keep the display for few secs before the redirect. I
would appreciate the command to do this. Thanks for any help. Regards.
Jul 22 '05 #1
11 5959
=?Utf-8?B?SmFjaw==?= wrote on 25 dec 2004 in
microsoft.publi c.inetserver.as p.general:
I have a asp result page which shows that a record has been
successfully updated. After this display I need to redirect this to a
different page. However, I would like to keep the display for few secs
before the redirect. I would appreciate the command to do this. Thanks
for any help. Regards.


Redirecting is a clientside happening.

Redirecting by ASP response.redire ct too!!!

The latter however is redirected from the html header,
so cannot be delayed or show any output before redirecting.

Try your hand at <meta> or clientside script redirecting,
both of which are off topic on this NG.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '05 #2
Thanks for your feedback, Evertjan.
I am going to check out client side redirecting for an answer to my
questions.

"Evertjan." wrote:
=?Utf-8?B?SmFjaw==?= wrote on 25 dec 2004 in
microsoft.publi c.inetserver.as p.general:
I have a asp result page which shows that a record has been
successfully updated. After this display I need to redirect this to a
different page. However, I would like to keep the display for few secs
before the redirect. I would appreciate the command to do this. Thanks
for any help. Regards.


Redirecting is a clientside happening.

Redirecting by ASP response.redire ct too!!!

The latter however is redirected from the html header,
so cannot be delayed or show any output before redirecting.

Try your hand at <meta> or clientside script redirecting,
both of which are off topic on this NG.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 22 '05 #3
Since I am exclusively working with asp pages, I was wondering if there is a
way to
report user that database has been updated before directing. Any idea on this?

"Jack" wrote:
Thanks for your feedback, Evertjan.
I am going to check out client side redirecting for an answer to my
questions.

"Evertjan." wrote:
=?Utf-8?B?SmFjaw==?= wrote on 25 dec 2004 in
microsoft.publi c.inetserver.as p.general:
I have a asp result page which shows that a record has been
successfully updated. After this display I need to redirect this to a
different page. However, I would like to keep the display for few secs
before the redirect. I would appreciate the command to do this. Thanks
for any help. Regards.


Redirecting is a clientside happening.

Redirecting by ASP response.redire ct too!!!

The latter however is redirected from the html header,
so cannot be delayed or show any output before redirecting.

Try your hand at <meta> or clientside script redirecting,
both of which are off topic on this NG.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 22 '05 #4
=?Utf-8?B?SmFjaw==?= wrote on 25 dec 2004 in
microsoft.publi c.inetserver.as p.general:
Since I am exclusively working with asp pages, I was wondering if
there is a way to
report user that database has been updated before directing. Any idea
on this?


[please do not toppost on usenet]

As long as you mean ASP resirecting: No this cannot be done.

But this can:

<%
'' open database and execute select sql first

if mData("updated" )= "yes" then response.redire ct "page1.asp"

' else
response.redire ct "page2.asp"

%>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '05 #5
Thanks for the insight Evertjan. Regards

"Evertjan." wrote:
=?Utf-8?B?SmFjaw==?= wrote on 25 dec 2004 in
microsoft.publi c.inetserver.as p.general:
Since I am exclusively working with asp pages, I was wondering if
there is a way to
report user that database has been updated before directing. Any idea
on this?


[please do not toppost on usenet]

As long as you mean ASP resirecting: No this cannot be done.

But this can:

<%
'' open database and execute select sql first

if mData("updated" )= "yes" then response.redire ct "page1.asp"

' else
response.redire ct "page2.asp"

%>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 22 '05 #6

"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:3E******** *************** ***********@mic rosoft.com...
Thanks for the insight Evertjan. Regards

"Evertjan." wrote:
=?Utf-8?B?SmFjaw==?= wrote on 25 dec 2004 in
microsoft.publi c.inetserver.as p.general:
Since I am exclusively working with asp pages, I was wondering if
there is a way to
report user that database has been updated before directing. Any idea
on this?


[please do not toppost on usenet]

As long as you mean ASP resirecting: No this cannot be done.

But this can:

<%
'' open database and execute select sql first

if mData("updated" )= "yes" then response.redire ct "page1.asp"

' else
response.redire ct "page2.asp"

%>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


You can put a javascript (client-side) function on the asp page which
informs the user the dtdbase has been updated.
look at the javascript settimeout function.
You can display your asp result page a few seconds, then javascript can take
the user to another page.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.818 / Virus Database: 556 - Release Date: 12/17/2004
Jul 22 '05 #7
Hal Rosser wrote on 26 dec 2004:
I wrote:
> But this can:
>
> <%
> '' open database and execute select sql first
>
> if mData("updated" )= "yes" then response.redire ct "page1.asp"
>
> ' else
> response.redire ct "page2.asp"
>
> %>


You can put a javascript (client-side) function on the asp page which
informs the user the dtdbase has been updated.


On my page1.asp, you can, or you could make page1.asp and page2.asp
nearly the same, but for the database result message.

But that has nothing to do with ASP, so the term "asp-page" is
misleading, as it could also be page1.html and page2.html

In fact "page" is a clientside rendering, so an "asp page" is a
contradiction. It is a "file"(!) with an .asp exension and asp-code
content rendering a "html page"(!) on the client.
[Asp files can also render jpg, gif, video, xml, txt, etc]


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '05 #8
SOOOO
What you're saying is that (semantics aside) that my suggestion is a good
one.
sheesh

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
Hal Rosser wrote on 26 dec 2004:
I wrote:
> But this can:
>
> <%
> '' open database and execute select sql first
>
> if mData("updated" )= "yes" then response.redire ct "page1.asp"
>
> ' else
> response.redire ct "page2.asp"
>
> %>


You can put a javascript (client-side) function on the asp page which
informs the user the dtdbase has been updated.


On my page1.asp, you can, or you could make page1.asp and page2.asp
nearly the same, but for the database result message.

But that has nothing to do with ASP, so the term "asp-page" is
misleading, as it could also be page1.html and page2.html

In fact "page" is a clientside rendering, so an "asp page" is a
contradiction. It is a "file"(!) with an .asp exension and asp-code
content rendering a "html page"(!) on the client.
[Asp files can also render jpg, gif, video, xml, txt, etc]


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.818 / Virus Database: 556 - Release Date: 12/17/2004
Jul 22 '05 #9
Hal Rosser wrote on 27 dec 2004 in
microsoft.publi c.inetserver.as p.general:
> You can put a javascript (client-side) function on the asp page
> which informs the user the dtdbase has been updated.
On my page1.asp, you can, or you could make page1.asp and page2.asp
nearly the same, but for the database result message.

But that has nothing to do with ASP, so the term "asp-page" is
misleading, as it could also be page1.html and page2.html

In fact "page" is a clientside rendering, so an "asp page" is a
contradiction. It is a "file"(!) with an .asp exension and asp-code
content rendering a "html page"(!) on the client.
[Asp files can also render jpg, gif, video, xml, txt, etc]

SOOOO

What you're saying is that (semantics aside) that my suggestion is a
good one.
Semantics = facts of cyberlife or common decency ?

No, because you fail netiquette by repeated topposting.

No, because you fail netiquette by not heeding the fact that you are
asking for a clientside solution in a serverside code toppiced NG.

No, because "asp-pages" in that sense do not exist.

Yes, semanics and netiquete aside, you could do it that way.
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.818 / Virus Database: 556 - Release Date: 12/17/2004


You seem to fail to understand that this is usenet:
Virusses in a non binary NG are nearly impossible.
So don't show this crap.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '05 #10

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

Similar topics

4
7295
by: Yannick Turgeon | last post by:
Hello all, I've got a query which suddently became very slow. It now takes about 10 secs instead of 2 secs. I've got to identical DB (one is for test and the other is production). The query is slow only in production. When running this query in both DB and looking at execution plan, statistics, etc, the onle difference is the Cumulative wait time on server
1
1824
by: batham | last post by:
Gurus, I have a mainpage.aspx webform, in the page load of this page I am displaying a text "Please wait connecting..." and then I want the user to see this output on the WebForm, while I do some backend processing. Once the backend processing is done I want to redirect the user to another page e.g. "http://www.google.com". I want to achieve the above without javascript, it should be pure ASP.Net, is this possible ?
4
2583
by: dave | last post by:
Hi guys I display one page in popup window...that fetches some data from sql and perfom some calculation (tht approx 10 secs) and display result.... I am trying to display "Please wait ..."message while its performing calculation... I'm using the below code...that i have got from following link http://aspfaq.com/show.asp?id=2498 but somehow it doesnt work and displays nothing....it display only for a second before the actual result is...
4
2050
by: Anonymous | last post by:
Hello, I am generating a pdf file via some code. It takes approx. 30 secs to create the pdf and to show it to the user. During that time, I want to show a message like "Please Wait...". Ideally I would like to show only this message in some kind of messagebox and show the pdf page only when the processing has been finished. However I dont know how to do that. What I tried was the following:
15
22162
by: Snuyt | last post by:
Hello, I want the program to wait a few seconds between executing code. It should look something like this: public sub xx() ...code... wait(2) 'wait 2 seconds ...code...
2
1767
by: libsfan01 | last post by:
Hi all! I have this javascript timer which counts down the number of secs that i put in and then then redirects my page, what i want to know is how to i modify the code so that i can input the number of seconds and this creates a DISPLAY of the form MM:SS (minutes:seconds)? Which i feel is more aesthetically pleasing to the intended users of the site. Kind regards Marc <HEAD>
9
2108
by: jodleren | last post by:
Hi I have never done this before... but I could use it now. How do I create a "please wait" page, which will "reload" once my real page is ready? I am talking of a waiting time of some 10-20 secs, but can be worse.... still even 10 secs I'd like something telling the user, that data is being processed.
0
8650
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9140
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8838
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6510
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5843
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4351
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3025
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 we have to send another system
2
2290
muto222
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.