I have an ASP.NET application. On some pages it requires a specific querystring to be called with the page, so data can be processed.
Where is the most appropriate place to check whether the required querystring is included in the URL, otherwise redirect to somewhere else?
I have only used one masterpage.
Thoughts and suggestions would be appreciated.
Thanks.
I would check in the Page_Load function or better the Page_Init function in each page which needs the query string item.
Link to ASP.NET page execution lifecycle.