Normally code like this can be used.
<%
System.Web.HttpContext.Current.Response.AddHeader( "Cache-Control","no-cache"
)
System.Web.HttpContext.Current.Response.Expires = 0
System.Web.HttpContext.Current.Response.Cache.SetN oStore()
System.Web.HttpContext.Current.Response.AddHeader( "Pragma", "no-cache")%>
However, expiry is rarely a very reliable thing depending on the browser,
its worth reading this:
http://www.mnot.net/cache_docs/
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"Gonçalo Boléo" <gb****@netcabo.pt> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
I have a page (page1.aspx) with some content.
The user select the content and press a next button and is redirected to
another page (page2.axpx).
I wan't that page1.aspx is not redisplayed when i press the back button in
my browser when i am in page2.aspx.
How do i do this?
thanks,
Gonçalo Boléo