Hi Saravana
I try to do like wrote into the site, but when I push the back button
Internet Explorer display "The page cannot be displayed" and I don' t want
that this happens.
Thanks.
Simon
"Saravana" <> wrote in message
news:udREd.5497$...
> Check out this faq,
> http://www.extremeexperts.com/Net/FA...ackButton.aspx
>
> --
> Saravana
> http://dotnetjunkies.com/WebLog/saravana/
> www.ExtremeExperts.com
>
>
> "Simon" <simon> wrote in message
> news:...
>> Hi, I need to prevent Internet Explorer to save the page in history
>> collection when it is in PostBack.
>> To try do this I have put this code:
>>
>> protected override void OnLoad( EventArgs evt)
>> {
>> if (IsPostBack)
>> Response.Cache.SetNoStore();
>> .....
>> base.OnLoad( evt);
>> }
>>
>> With above code, when I press the back button the internet explore return
>> "The page cannot be displayed" because the IE don't save the page into
>> the
>> history I think, but I need to prevent the IE history collection change,
> so
>> when I press the back button IE display the page loaded not in postback
> (the
>> first time that the page was loaded).
>> Is possible to do this ?
>>
>> Thanks in advance.
>>
>> Simon.
>>
>>
>
>