|
-
March 27th, 2001, 05:39 PM
#1
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
-
March 28th, 2001, 05:07 PM
#2
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
-
March 29th, 2001, 10:06 AM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|