Disable Back Button (showing cached version) without JavaScript

Posted by vigna hari karthik on Stack Overflow See other posts from Stack Overflow or by vigna hari karthik
Published on 2010-05-29T14:13:16Z Indexed on 2010/05/29 14:22 UTC
Read the original article Hit count: 321

Filed under:

Hey Friends,

I want to disable the broswer back button without using javascript. So far i have used this coding:

Response.CacheControl = "no-cache"
Response.CacheControl = "private"
Response.CacheControl = "public"

It's working fine in the internet explorer 8 but in case of mozilla fire fox it is not working.pls say same the solution to work in all browsers.

Thanks in advance

With Regards V.karthik

© Stack Overflow or respective owner

Related posts about ASP.NET