Home All Groups Group Topic Archive Search About

About Refreshing Webpage......

Author
1 Apr 2005 5:41 PM
Mustufa Baig
Hi,

Whenever the user clicks on Back Button, I want that page to be reloaded or
refreshed. Basically I don't want my page to be cached. How can I acheive
this functionality in asp.net?

Regards,

Author
2 Apr 2005 12:02 AM
Steve C. Orr [MVP, MCSD]
This will make sure the page doesn't get pulled from cache:

Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"Mustufa Baig" <must***@benepen.com> wrote in message
news:eoLOxIuNFHA.688@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> Whenever the user clicks on Back Button, I want that page to be reloaded
> or
> refreshed. Basically I don't want my page to be cached. How can I acheive
> this functionality in asp.net?
>
> Regards,
>
>



Post Thread options