Where to keep a querystring parameter in session ?
- by hoang
Users will get to my site using a specific parameter, e.g. :
http://www.mysite.com/whatever/?keepTrackOfThisValue=foo
or
http://www.mysite.com/who/cares/?keepTrackOfThisValue=bar
I would like to store the value of this peculiar parameter in Session everytime I found it in the QueryString. I'm currently using the Session_Start event in Global.asax in order to store this but I would like to override the value each time the parameter value change, which is not possible my way.
Where would you do this ?