Avatar of Arikkan
ArikkanFlag for United States of America asked on

Taking dynamic number from URL on IIS server

We have IIS server which we can have .net application or ASP.net application. 

We need to get a value from a URL in a structure below:


We have access to /example/ folder on the server. 

We need to take the value "12345" or "123456" which are dynamic number and get the value and redirect the user to another page depends on the number.

What is your suggestion to get this value?  

We can write an application to do this, but since the URL is not using any query string (as you can see above) how do you suggest creating an application that takes this numeric value out of the URL and take action on it?

Thank you very much. 

.NET ProgrammingASP.NET* iis10* iis8* iis7

Avatar of undefined
Last Comment
Chinmay Patel

8/22/2022 - Mon
Chinmay Patel

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck