Information générale
Titre:
Dissallow Browser Caching
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement