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

I am trying on performing the URL rewriting and my requrirement is this

My actual url is http://test.sulekha.com/test/testing.aspx?cityurl=<?>&locationurl=<?>&pagetype=citylochome

and my rewritten url is: http://test.sulekha.com/chennai-adyar

now when i use the rewritten url i have to get the output as follows:
Response.Write(": City URL : " + …
Response.Write(": Location URL : " + …
Response.Write(": City Name : " + …
Response.Write(": Location Name : " + …
Response.Write(": Page Type : " + …


how to do it
Posted

1 solution

Use the Params collection of the Request property, e.g.
C#
Response.Write(": City URL : " + Request.Params["ciyturl"]);
 
Share this answer
 

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