How to clear showmodaldialog data cache

Source: Internet
Author: User

Sometimes some data is modified and displayed through showmodaldialog. In this case, the data displayed is usually the previous data.

 

There may be issues with the showmodaldialog cache mechanism. In this case, you need to manually clear the cache or write some code ......

 

Html

 

<Meta http-equiv = "pragram" content = "no-Cache">

 

Disable the browser from accessing the page from the local cache.

 

The webpage is not saved in the cache, and the page is refreshed every time the webpage is accessed.

 

<Metahttp-equiv = "cache-control" content = "no-cache, must-revalidate">

 

Similar to above, page must be reloaded

 

<Meta http-equiv = "expires" content = "0">

 

The expiration time of a webpage in the cache is 0. Once the webpage expires, you must subscribe to it from the server.

 

. Net

 

Response. expires =-1;

 

 

 

Article Reprinted from the Network Manager House: http://www.bitscn.com/pdb/dotnet/200806/144414.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.