C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Disable Page Caching on Client Browser


Posted Date: 27 Aug 2008    Resource Type: Code Snippets    Category: Web Access

Posted By: Ritesh N. Jain       Member Level: Gold
Rating:     Points: 3



Many time we see that same web page shows two different format/data/design on two different machine or sometime user gets old pages even after modifying Pages on web serever,the main cause of This Problem is Client Side Caching.

In order to Disable the page from being getting cached one can add one line of code in their Code behind page
Below is VB.NET code for the same (can be added in Page_Load event)


Response.Cache.SetCacheability(HttpCacheability.NoCache)




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Disable Page Caching on Client Browser  .  

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: Open multiple windows with links using Java Script
Previous Resource: Get the Weather Forcast for Next 7 days using Web Service
Return to Discussion Resource Index
Post New Resource
Category: Web Access


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

it outsourcing

Contact Us    Privacy Policy    Terms Of Use