Results 1 to 3 of 3

Thread: Help - trouble at' mill!

  1. #1

    Thread Starter
    Addicted Member Skeen's Avatar
    Join Date
    Jul 2000
    Location
    Abingdon, Oxon
    Posts
    138

    Unhappy

    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!"

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    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!

  3. #3

    Thread Starter
    Addicted Member Skeen's Avatar
    Join Date
    Jul 2000
    Location
    Abingdon, Oxon
    Posts
    138

    Thumbs up

    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
  •  



Click Here to Expand Forum to Full Width