|
-
Sep 6th, 2000, 08:44 AM
#1
Thread Starter
Addicted Member
Can anyone tell me why I'm getting an error with the following statement on my .asp?
If StoredPassword = Pass AND Security < 5 Then
Request.Redirect "Main_menu_test.asp"
ElseIf StoredPassword = Pass AND Security = 5 Then
Request.Redirect "Administrator_Level.asp"
Else If StoredPassword <> Pass Then
Request.Redirect "Sorry.asp"
End If
Cheers 'n' beers
Skeen
"It wasn't the booze that made me snooze, It was the Gin that did me in!"
-
Sep 6th, 2000, 08:59 AM
#2
Fanatic Member
Hi skeen
It should be response.redirect not request.redirect
That should sort it out
Hope it does
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Sep 7th, 2000, 02:59 AM
#3
Thread Starter
Addicted Member
Cheers Ian
I noticed about 10 seconds after I posted it, and I'd been stressing for around an hour too.
Cheers though, nice1
Skeen.
"It wasn't the booze that made me snooze, It was the Gin that did me in!"
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
|