Prevent ASP.NET page from retreat by IE

xiaoxiao2021-03-06  14

Since the needs of the project do not allow the system to be submitted again, press the back button of IE.

Get it, in the .NET, through the following statement

Response.cache.setcacheability (system.web.httpcacheability.nocache);

You can get the cache of the page to get a new page every time you need to get a new page.

Src: http://www.cnblogs.com/anders/archive/2004/09/23/45889.aspx

转载请注明原文地址:https://www.9cbs.com/read-49948.html

New Post(0)