Response.Clear()和Response.ClearContent()区别

Response.Clear()方法 Clear方法删除所有缓存中的HTML输出。但此方法只删除Response显示输入信息,不删除Response头信息。

  Response.ClearContent()方法 ClearContent与Clear方法区别就是ClearContent方法不仅删除Response显示输出信息而且还删除Response头信息

  Response.ClearHeaders()方法 ClearHeaders方法只删除头信息,而不删除Response显示输出信息.

搏击长空
原文地址:https://www.cnblogs.com/yitong/p/4331747.html