troubleshooting Question

ASP Classic, check if Querystring is UCase or LCase

Avatar of Wayne Barron
Wayne BarronFlag for United States of America asked on
10 Comments1 Solution285 ViewsLast Modified:
Hello All;

I designed a lot of my sites with a certain case sensitive structure.
Of which in the most part, has never been an issue.
But there is always the time when someone might type out the URL to a location on the site.
And they do lowercase instead of Uppercase.

What I would like to be able to accomplish, is to check if the string is all lowercase and if it is.
Check the URL and do a redirect.
Well, without doing an endless LOOP. (That is what I am afraid of)

So, how would you check?
And then have it changed to

Any ideas on this one?
(And yes, I know. I have read where it is bad programming to do it like I have, but this was done such a long time ago.
And there is well over 100+ pages per site, that I would have to change. Not quite ready to do that yet.)
Thanks, all.
Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros