Hide .asp extension in URL

I have secured classic asp web application and I want
instead of having a link format of:
https://secure.jsssoftware.com/sign_on_HP.asp?uid=<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>

I want to display, URL format like:

Option 1 hide the .asp extension
https://secure.jsssoftware.com/sign_on_HP/<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>

or Option 2 replace generic word
https://secure.jsssoftware.com/PartnerMemberSSO/uid=<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>

or Option 3 replace .aspx in place of .asp
https://secure.jsssoftware.com/sign_on_HP.aspx/<UserName>&uidhash=<EncryptedUserName>&cid=<YourCustomerId>
Vivek AgarwalConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
have you heard about "iis rewrite" before?

you can implement option 1 & 2 easily using it.

https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module

option 3 may create more work for you and it may not securely hire our URL. that's not much difference between asp and aspx in terms of URL...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
correction:

option 3 may create more work for you and it may not securely hide our URL. that's not much difference between asp and aspx in terms of URL...
0
Vivek AgarwalConsultantAuthor Commented:
if we do "iis rewrite" then it will applicable universally and rewrite links for all clients but we just wanted rewrite link show to only new client links. we don't want same page rewrite for old clients.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
rewrite link show to only new client links. we don't want same page rewrite for old clients.
it still can be done if the URL can be differentiated between new and old client... and how many new client are you mentioning here? one?
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
so any further inputs here?
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
as proposed
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.