Page Expire code not working in firefox
I am developing a site in .Net 2005 and i want to expire a page so that when an user clicks back button it should show page expire messsage. I am using this code
Response.Cache.SetExpires(DateTime.Now.AddDays(1.0 ));
Response.Cache.SetCacheability(HttpCacheability.No Cache);
and it is working fine in Internet Explorer nut the same code is not working in Firefox. Can anyone suggest an alternative or a solution for this. Thanks in advance.
|