473,396 Members | 1,967 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,396 software developers and data experts.

response.redirect?

Is it possible to set a interval for response.redirect? SOmething you see on
different forums. I've written a page where the people can change there
profile and when it is succesfully done, they have to click a link to go
back. My question is now if it is possible to go back after a second or 3 so
the user won't have to hit it by himself.
Jul 19 '05 #1
3 2772
Passero wrote on 07 sep 2003 in microsoft.public.inetserver.asp.general:
Is it possible to set a interval for response.redirect? SOmething you
see on different forums. I've written a page where the people can
change there profile and when it is succesfully done, they have to
click a link to go back. My question is now if it is possible to go
back after a second or 3 so the user won't have to hit it by himself.


Whenb the user sees a page so any html is sent, the serverside coded
redirect is no longer possible.

What you want can only be done clientside buy a timed javascript code.

setTimeout("dosubmit()",3000)

function dosubmit(){
myform.submit()
}

but that is off topic on this serverside NG,
so please follow up with questioning a clientside NG.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2

"Evertjan." <ex**************@interxnl.net> schreef in bericht
news:Xn********************@194.109.133.29...
Passero wrote on 07 sep 2003 in microsoft.public.inetserver.asp.general:
Whenb the user sees a page so any html is sent, the serverside coded
redirect is no longer possible.

What you want can only be done clientside buy a timed javascript code.

setTimeout("dosubmit()",3000)

function dosubmit(){
myform.submit()
}

but that is off topic on this serverside NG,
so please follow up with questioning a clientside NG.

Alright thx. I thought it was possible with ASP so that's why i posted it
here. I will now try it elsewhere. Anyway thank for the effort
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 19 '05 #3
Look at the HTML META tag for "Refresh". It tells the client browser to
refresh after a certain number of seconds, and can be used to redirect to a
new page.
"Passero" <ya*******@pandora.be> wrote in message
news:iA*******************@phobos.telenet-ops.be...
Is it possible to set a interval for response.redirect? SOmething you see on different forums. I've written a page where the people can change there
profile and when it is succesfully done, they have to click a link to go
back. My question is now if it is possible to go back after a second or 3 so the user won't have to hit it by himself.

Jul 19 '05 #4

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

Similar topics

3
by: Paul | last post by:
I'm not getting the results I want when I use Response.Redirct in a ASP page. I enter this line of code in a asp page from domain1.com. Response.Redirect...
4
by: JC | last post by:
Hi, I have a simple question regarding the Response.Redirect method. Does the server stop processing the ASP code as soon as it encounters the Redirect command? Or does it ever continue to...
4
by: TomT | last post by:
Hi.. I'm redirecting users to another page using: response.redirect("newpage.asp") this works... But I need to add a variable to the page specified.. IE: newpage.asp?id=JobID
6
by: Sam | last post by:
I have some issues with HTTP Headers and I was hoping for some pointers or references to good articles. Here is the problem. I have 6 .aspx pages, each page contains a common .ascx. This ascx...
3
by: Sehboo | last post by:
On my ASP page, when I click a button, I want to do three things: 1. Check for some values. 2. Open a new window and pass some values as query string. 3. Redirect to some other page Here...
13
by: Tim | last post by:
Hello, Is there a way to "cancel" a response.Redirect? For example, in the code below, could I insert anything in the Catch statement that would cancel the redirect and resume flow after the...
10
by: Niggy | last post by:
I get an error - any help appreciated. System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object...
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
4
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
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: 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: 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
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
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
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
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.