C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

Preventing a browser from caching


Posted Date: 04 May 2004    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: Maheshkumar Reddy.PMember Level: Gold    
Rating: 1 out of 5Points: 3



By using SetNoStore function, prevent a browser from caching an ASPX page. Just call SetNoStore on the HttpCachePolicy object exposed throuch the Response object’s Cache property.

Response.Cache.SetNoStore();

SetNoStore works by returning a Cache-Control: Private, no-store header in the HTTP response.



Responses

Author: Anand Prasoon Jha    21 Sep 2004Member Level: Bronze   Points : 0
i want some more clarification on this issue as i am totally new in asp.net .
I want to know where exactly and in what conditions this SetNOStore function can be used.
Your Reply is awaited....Thank you in advance.



Author: Pete*    26 Oct 2004Member Level: Gold   Points : 0
I'm sorry but this so called article is just to vague. How is anybody suppose to learn from it. I could put loads of articles like this one on this site and people would not learn a thing. A complete waste of your time typing this out and my time reading it.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Format Date, numeric values in the DataGrid.
Previous Resource: Differences Between XMLDOM and .NET XML
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use