trend Posted July 10, 2005 Posted July 10, 2005 Hello, I have a myreader.read that will output true or null.. If the output is true, I need the _parent webpage to go to one website.. and if it is null, I need the _parent webpage to go to another one. Here is my code: If myReader.Read Then '= True Then validationwindow.Text = "SP Result: True" Session("permission") = "YES" 'install session cookie 'redirect user to ../start.asp Else validationwindow.Text = "SP Result: Null" 'redirect user to page explaining why they don't have access End If Also note.. if the result from the myreader.read is true.. I will create a session cookie = yes. How can Ihave the aspx webpage automatically go to another website after it analyzes myreader.read? thanks Lee Quote
Puiu Posted July 10, 2005 Posted July 10, 2005 Have u tried Response.Redirect("start.asp") ? If your page is in the upper directory the u can use: Response.Redirect("../start.asp") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.