I'm not sure I really like this approach, but if you insist on using Server.Transfer , you can use the HTML5 History API to change the URL in the address bar of the browser as soon as your answer reaches the browser and is processed there. Remember that only new browsers support this feature, but over time this should become a problem.
You will need a piece of JavaScript on your page to manage the current state of the story. It will look something like this:
<script type="text/javascript"> window.history.pushState({ path: <pageurl> }, '', <pageurl>); </script>
The <pageurl> must be installed on the server with the real URL of the page that you are actually processing in your Server.Transfer call.
There are many examples of how to use the html5 api history on the web so far, for example. http://html5demos.com/history .
source share