Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 2nd, 2006, 09:16 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cache problem

i am facing this problem where when the user logs out from a page it will redirect to the login page but the user is still able to go back to main page the moment he/she clicks the browser's "Back" button.

i realized this is a cache problem and so i added a meta tag "no-cache" in the page. works wonders in IE browsers but it does not work Mozilla Firefox.

How do i overcome this problem? Thanks in advanced. :)

 
Old January 3rd, 2006, 12:36 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You might also try setting the Expires property of the page's Response object. I think this adds additional HTTP headers that provide expiration information. Maybe firefox will pay attention to that.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
about using cache benordz ASP.NET 2.0 Basics 2 April 25th, 2008 09:19 AM
cache problem benordz C# 5 April 25th, 2008 01:01 AM
image cache problem in Internet Explorer richard.york PHP How-To 16 June 10th, 2006 03:32 AM
Cache problem alton Classic ASP Basics 3 September 6th, 2004 12:37 PM
Cache problem hrishimusale Classic ASP Basics 0 August 27th, 2003 04:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.