본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Why "Response.Cache.SetAllowResponseInBrowserHistory(False)" and "Response.Cache.SetCacheability(HttpCacheability.NoCache)" don't work with FireFox 3.x???

  • 1 답장
  • 18 이 문제를 만남
  • 1 보기
  • 최종 답변자: oyuky_leal

more options

I have created a website and I don't want user to use Back button to see previous pages. How to disable History in FireFox 3.x and above? The following code doesn't seem to work:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Response.Cache.SetAllowResponseInBrowserHistory(False)Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetNoStore() Response.Expires = 0

End Sub

Thanks, Ashish

I have created a website and I don't want user to use Back button to see previous pages. How to disable History in FireFox 3.x and above? The following code doesn't seem to work: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Response.Cache.SetAllowResponseInBrowserHistory(False)Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetNoStore() Response.Expires = 0 End Sub Thanks, Ashish

모든 댓글 (1)

more options

en asp .net con C# se resuelve colocando unicamente en el Page_Load:

Response.Cache.SetNoStore(); Response.Cache.SetCacheability(HttpCacheability.No Cache);

Saludos.