Problem with Simple Authentication

Results 1 to 2 of 2

Thread: Problem with Simple Authentication

  1. #1
    Matthew Kirwan Guest

    Default Problem with Simple Authentication

    Hi,<BR><BR>I have trying to implement Simple Authentication as detailed in the article "Simple Authentication" at the 4GuysFromRolla website<BR>(specifically<BR><BR>In the ASP page I am trying to authenticate, courseBookingForm.asp I added the following lines of code:<BR><BR>&#060;%<BR> If Session("bolAuthenticated") = False Then<BR> Response.Redirect "/authenticate.asp?" & Request.ServerVariables("courseBookingForm.asp")<B R> End If<BR>%&#062;<BR><BR>However nothing is passed to authenticate.asp via the querystring so in my code for authenticate.asp the variable URL is empty.<BR><BR>&#060;%<BR> Dim URL<BR> URL = Request.QueryString<BR>%&#062;<BR>(HTML for username/password entry form follows)<BR><BR>Has anyone got an idea what I am doing wrong?<BR><BR>Regards,<BR><BR>Matthew Kirwan<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Problem with Simple Authentication

    Request.ServerVariables("courseBookingForm.asp")?? didn&#039t know there was such an http parameter<BR><BR>that&#039s the error for sure. what&#039s supposed to be there?<BR><BR>j

Posting Permissions

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