Thread: Help
View Single Post
Old Apr 14th, 2006, 12:52 PM   #12
theGuru
Newbie
 
Join Date: Apr 2006
Posts: 2
Rep Power: 0 theGuru is on a distinguished road
Quote:
Originally Posted by Heba
<meta http-equiv="refresh" content="5;url=menu.asp">

Where do i have to put it will this do?

strUsername = Request.Form ("username")
strPassword = Request.Form ("password")

If strUsername="john" And strPassword="123" Then
    Response.Write("OK to go!")
   <meta http-equiv="refresh" content="5;url=menu.asp">
 End If


Thank you !
Hello,
I think you can use
If strUsername="john" And strPassword="123" Then
    Response.Redirect("menu.asp")
 End If
Its the best way to redirect the user to another page.
theGuru is offline   Reply With Quote