Re: ASP.NET ItemCommand before PreInit

2011-07-28 Thread Mark Hurd
On 29 July 2011 10:53, Greg Keogh wrote: > Folks, I ran into an unexpected trap in the ASP.NET page lifecycle last > night. I wonder if others have hit this problem and have a better > workaround. > > To protect against crashes due to session timeouts or IIS restarts I usually > have something lik

ASP.NET ItemCommand before PreInit

2011-07-28 Thread Greg Keogh
Folks, I ran into an unexpected trap in the ASP.NET page lifecycle last night. I wonder if others have hit this problem and have a better workaround. To protect against crashes due to session timeouts or IIS restarts I usually have something like this in the PreInit event of a common base page