Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!

I'm searching for help for my current asp.net project. What I'm trying to do is this:

The user should be able to use this url
"http://domain.tld/page/param1"
where page is my asp.net page and param1 is a changing parameter
and he should be routed/mapped to
"http://domain.tld/page"
BUT without loosing the information about the parameter he/she was giving.

I already use .MapPageRoute to achieve routing /page/param1 to my aspx (firstpage.aspx) page but I cannot get rid of the parameter.

Any Ideas?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900