Automatically add querystring paramaters to URL
Hi,
I am creating a webapp and would like to pass some values to each page via the querystring. The reason for this is so that that people can access certain sections by typing in the URL. At some point I will also implement URL rewriting to help achive this.
What I want to know is if there is any way to automatically add those parameters to the querystring without me having to specifiy them i.e. If I enter the link in my source as ~/default.aspx the url should automatically get something like ?lang=en&country=za. If this is in one centralised place then making any changes in the future would also be easier.
I think I probably have to create an httpmodule but I'm not sure. Any help apprceiated.
|