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:
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
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:
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