Here's a method I call from Page_Load when I need to prevent a page
from caching in the browser...
Protected Sub KillCache()
Response.Cache.SetNoStore()
Response.Cache.SetAllowResponseInBrowserHistory(False)
Response.Cache.SetCacheability(HttpCacheability.NoCache)
End Sub
On 6/28/05, christopher andrada <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> can someone please teach me how to disable the back
> button by displaying this content when the user click
> on the back button of the browser.
>
> "Warning: Page has Expired
>
> The page you requested was created using information
> you submitted in a form. This page is no longer
> available. As a securtiy precaustion, Internet
> Explorer does not automatically resubmit your
> information for you.
>
> To resubmit your information and view the Web page,
> click on the ther Refresh button."
>
> Above are the exact words. Please help
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/