browser back and events

browser back and events

am 08.04.2008 16:57:58 von Patrice

I noticed that when I force a browser back and the resulting page contains a
querystring, it fires the Page_Load event. But if the resulting page
doesn't contain a querystring, no Page_Load fires. Is this as expected? I
use the following code to create the brower back:

ClientScript.RegisterStartupScript(this.GetType(), "goBack", "");

Re: browser back and events

am 08.04.2008 16:59:46 von Aidy

Your browser is just getting the old version from the cache. If there are
no params on the url it is assuming the page content won't be dynamic. Not
100% true, but that's how it works.

"hmm" wrote in message
news:hNSdneQZ2bk-GmbanZ2dnUVZ_qainZ2d@nuvoxcommunications...
>I noticed that when I force a browser back and the resulting page contains
>a querystring, it fires the Page_Load event. But if the resulting page
>doesn't contain a querystring, no Page_Load fires. Is this as expected? I
>use the following code to create the brower back:
>
> ClientScript.RegisterStartupScript(this.GetType(), "goBack", "");
>
>
>
>