Response.Redirect Question
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
Re: Response.Redirect Question
<%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
Re: Response.Redirect Question
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.