I have an ASP.NET web site. Recently I modified th site to generate a random token when a user login into the site to avoid duplicate login on the same client computer. The next thing is adding the generated token to the query string of the url after a user logs in, and let the token always go with the url before the user logs out. Then the trouble comes - there are so many ways to jump from a page to another page - Response.Redirect, Server.Transer, <a href="..." />, LinkButton.PostBackUrl, HyperLink.NavigateUrl, (javascrit)window.location, etc, many of which have been used in my site. It would be unbelievable to manually add the token to all of them. Is there any way to automatically achieve this - like isapi filter, httpmodule, client script, and so on?
Thanks for your help in advance!