#region remove 'stat' query string
try
{
System.Reflection.PropertyInfo isreadonly =
typeof(System.Collections.Specialized.NameValueCollection).GetProperty(
"IsReadOnly", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
// make collection editable
isreadonly.SetValue(this.Request.QueryString, false, null);
//remove query string
this.Request.QueryString.Remove("stat");
}
catch
{
}
#endregion
No comments:
Post a Comment