[asp.net] Fix for bug #681164. Page.InitOutputCache ignores calls with duration <= 0
commit8470cb3d7d764aada0825bdbf84c01c5058bca02
authorMarek Habersack <grendel@twistedcode.net>
Thu, 24 Mar 2011 22:31:46 +0000 (24 23:31 +0100)
committerMarek Habersack <grendel@twistedcode.net>
Thu, 24 Mar 2011 22:31:46 +0000 (24 23:31 +0100)
tree2baf2d270d2b5760e14850893e46347e4bb96cfb
parentb5339d6f0742c79aad9c464c6de59f2048fbdd40
[asp.net] Fix for bug #681164. Page.InitOutputCache ignores calls with duration <= 0

It is ok to ignore such calls for two reasons - the cache with duration <= 0 will not
be effective anyway and the @OutputCache directive throws an exception for duration <= 0
mcs/class/System.Web/System.Web.UI/Page.cs