Click here to Skip to main content
14,927,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am calling all my category and product through query string. If once we are done with URL -writing. Then how will we call our product or category if we are not having id on query string. Please assist me for this.
Posted
Comments
amit.comp1 5-Jun-12 7:56am
   
How to do URL re-writing in asp.net.
I want to do URL rewritng in all my dynamic pages

1 solution

You will need to have some way of identifying the specific product or category. That is why it is most common to use the id in the URL since the id is a unique identifier. However, if you have other pieces of information that provide enough information to get the specific product or category that you are looking for, you could do the look up that way. However, I would recommend using the id to get the product. There is a reason why it is the common way of accessing specific data records.
   

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