response.redirect?

P

Passero

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.
 
E

Evertjan.

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.
 
P

Passero

Evertjan. said:
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
 
B

Boris Nikolaevich

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top