Problem with Response.Redirect

Results 1 to 2 of 2

Thread: Problem with Response.Redirect

  1. #1
    Shardool Karnik Guest

    Default Problem with Response.Redirect

    I am writing a user login page where there is a default password to create a new profile. If the default password is incorrect, I want to redirect the user to the login page. But this script produces the following error.<BR><BR>Microsoft VBScript runtime error &#039 800a01b6&#039 <BR>Object doesn&#039t support this property or method: &#039Redirect&#039 <BR>/fed/verify.asp, line XX <BR>where XX is the line containing Response.Redirect ...please help.<BR><BR>&#060;%<BR><BR>Dim name, pass, invalid<BR><BR>name = Request.Form("Username")<BR>pass = Request.Form("Password")<BR><BR>If(NOT pass = "12345678") Then<BR>invalid = true<BR>Response.Redirect = "login.asp"<BR>Else<BR>Response.Write("Account will be created!!!")<BR>invalid = false<BR>End If<BR><BR>%&#062;

  2. #2
    Shardool Karnik Guest

    Default RE: Problem with Response.Redirect

    errrrrrr.........always figure out the problem before someone replies .....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts