I've been meaning to mention this tip for a while - I first saw Stefan Schackow use it at his ASP.NET: Under the Covers talk at TechEd 2006. If you have loaded a page and posted it (by pressing a button or postback generating link) and you want to go back to the page as if it were the first request, you can change the capitalization of the URL and the browser will treat it as a fresh GET on the URL.
The way Stefan did it was to toggle the capitalization of the 'x' in the .aspx extension:
You can repeat as needed (go back to a lowercase x, then back to upper, etc.) This especially useful for working with ASP.NET pages where you often post back many times to the same page, and this technique is the simplest one I've seen to generate a fresh request.
Posted
Aug 10 2006, 08:51 AM
by
fritz-onion