Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Password login, case sensitive
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Password login, case sensitive

 Post Reply Post Reply
Author
Loque View Drop Down
Newbie
Newbie


Joined: 09 February 2005
Location: United Kingdom
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Loque Quote  Post ReplyReply Direct Link To This Post Topic: Password login, case sensitive
    Posted: 10 February 2005 at 8:41am
Hi all,

I have downloaded the "Web Wiz Guide Password Login realease v1.71 beta"

Its very simple and nice which is what i need as i am very new to asp, or any real coding other than xhtml or simple AS. Anyway, depending on the username specified i wanted the script to redirect the user to a static htm page specifically created for them... so i edited the redirect line, fairly simple, to later realise the username is not case sensitive.

Response.Redirect strUserName & ".htm"

Problem is, a user can enter their name in as fish or Fish .. or even FISH thus giving me some problems, and instead of warning all peeps to do it in lowercase was wondering how you guys would tackle this problem.

I am sure there are a few ways of getting around this, probably some JS will do the trick but any help is welcomed!

Cheers!
Løque
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 10 February 2005 at 10:54am
to make a value all lower case use

strVariable = LCase(Variable)

you can use the UCase for all upper case.

strVariable = UCase(strVariable)

subsitute strVariable for any you want to chage.


Edited by dj air - 10 February 2005 at 1:21pm
Back to Top
Loque View Drop Down
Newbie
Newbie


Joined: 09 February 2005
Location: United Kingdom
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Loque Quote  Post ReplyReply Direct Link To This Post Posted: 10 February 2005 at 12:51pm
Thank you! Really apreciated!

just for those who ever want to use it, i used it like:
strUserName = LCase(strUserName)


Edited by Loque - 10 February 2005 at 2:01pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.