I have an application where on the first page the user selects a Town, the information they view is then based on that town.
What is the best way to store this variable and pass it between pages.
For example the variables gets passed in the query string for SEO.
Will it use to much resource if everytime the page loads I query the database on this variable.
E.g Select XY and Z where town = QueryString otherwise
Otherwise if I was to for example have
Message.Text = Convert.ToString(Request.QueryString("TownName")) this could then be manipulated and display the wront information.
Then I have the problem of if I have 6 user controls on the page to I need to do a query on each one or can I somehow make the results available to everything on that page.
I hope this makes sense as I am quite new to aspx
Thanks in Advance