Why would checking case insensative get you into trouble?
As you say it would be bad design to make HIGH and high mean differant
things, so why then would session.username='high' mean anything
differant than UCASE(session.username) is 'HIGH'?
Bryan Stevenson wrote:
> The value could be high,High,HIGH,HiGH etc. SO checking to see if
> it's 'high' can get you into trouble (unless of course HIGH and high
> have different meanings...then by all means it should be as it was
> written (but IMHO that would be bad design to have HIGH and high mean
> different things).
>
> It's case sensitive because the value of username could be stored in the
> DB as all upper/lower/mixed case....to be case insensitive you have to
> check values of the same case...all upper...all lower...whatever floats
> yer boat.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- populating dropdowns Robert Orlini
- Re: populating dropdowns Bryan F. Hogan
- Re: populating dropdowns Bryan Stevenson
- Re: populating dropdowns Bryan F. Hogan
- Re: populating dropdowns Bryan Stevenson
- Re: populating dropdowns Bryan F. Hogan
- Re: populating dropdowns Bryan Stevenson
- Re: populating dropdowns Bryan F. Hogan
- Re: populating dropdowns Bryan Stevenson
- Re: populating dropdowns Bryan Stevenson
- RE: populating dropdowns Barney Boisvert
- Re: populating dropdowns Bryan Stevenson
- Re: populating dropdowns Bryan F. Hogan
- Can someone recommend a good web developm... Jon Block
- Re: Can someone recommend a good web... Nick de Voil
- Re: Can someone recommend a good web... Kevin Graeme