Click to See Complete Forum and Search --> : Response.Redirect Question


Timg
March 27th, 2001, 04:39 PM
I could use a simple example for this method. I can't seem to find one in the books I have.
What I'd like to do is take some data from a user in a form and enter it in a database (this part works fine)
then I'd like to redirect them to the next page automatically after a few seconds.
I'm using Msoft PWS as the host
RegistrationPage1.asp is the first form
RegistrationPage2.asp is where I want them to go
ETC.
Do they need to go to an HTML page instead or first?
TIA
Timg

Timg
March 28th, 2001, 04:07 PM
<%Response.Buffer= TRUE%>
If
I put this code at the top of the document before any HTML stuff
Then
Response.Redirect "Pagename.asp" 'works just peachy
End If

webnetworks
March 29th, 2001, 09:06 AM
It's more a HTML question and I don't think this is the right place.

Anyway, include this code in your HTML header:
<meta http-equiv="REFRESH" content="5; URL=nextpage.asp">



Where the 5 says the nextpage.asp file is opened after 5 seconds.

Jeroen.