Case Sensitive Login

Results 1 to 3 of 3

Thread: Case Sensitive Login

  1. #1
    Join Date
    Dec 1969

    Default Case Sensitive Login

    I have been using ASP on a login form for my site it it is case sensitive and that is a bit of a pain. Is there some simple code that will fix this? I am VERY new to ASP thus I do not know much about it.

  2. #2
    Join Date
    Dec 1969

    Default RE: Case Sensitive Login

    simplest way, convert both, the user entered uname/password and the database retrieved uname/password to LCase (or UCase) and then compare<BR><BR>if LCase(Request("txtPassword")) = LCase(rs("password")) then<BR> Response.Write("You have logged in...")<BR>end if

  3. #3
    Join Date
    Dec 1969

    Default String Compare

    StrCompare() Or StringCompare() or something like that.<BR><BR>Which is it... Ugh, **** syntax! :)<BR><BR>Once you figure out the function that I&#039;m babbling about, it&#039;ll let you do case-insensitive comparisons.<BR><BR>-Doug

Posting Permissions

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