C#.net 缓存导致页面不载入Page_Load的解决方法

LiteralControl   control1    =     new    LiteralControl( " <base   target=\ " _self\ " > " );   
this .Header.Controls.Add(control1);   
this .Response.Expires    =     0 ;   
具体什么意思不是很明白,反正就把缓存时间设置为0吧。。让下次页面开启的时候不去找缓存就好了

你可能感兴趣的:(.net)