Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dissallow Browser Caching
Message
De
26/01/2005 10:12:00
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Dissallow Browser Caching
Divers
Thread ID:
00980756
Message ID:
00980756
Vues:
47
Ok,

I have an asp.net app and I don't want ANY of the pages to be cached on the browser.

I have tried to set the virtual directory to expire all pages immediately, but it doesn't seem to work.

Basically, here is what I would like to see.

Login
Goto page 1
Goto page 2
Goto page 3
Logout
Press Back button
Page3 is expired so get from server which redirects to login

If I do the above, I get back to page3. I want to set up the pages so that they aren't cached, and pressing the back button either doesn't dispaly a page or it is forced to get the page from the server, which should re-direct user back to login.

Is there something I can put in my base page class to do this. I thought the IIS setting would work, but it doesn't seem to. Is this something that requires the site to be using SSL and a browser setting?

Help!

Thanks,
BOb
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform