Image or ImageButton without ImageUrl Causes HTTP GET for Default Document

I recently worked an issue with a customer who was seeing an error in his application due to a null reference. The error was perplexing because the object that was null was populated on the logon page of the application, but the error was occurring after the user logged in. The object should certainly not…

8

Sessions and Classes

Any programmer knows that logic errors are among the most difficult to troubleshoot. I was recently working with a developer who was encountering an obscure logic bug concerning session variables, and the case raised an interesting (and important) point regarding ASP.NET session state. Consider the following code in page1.aspx. public partial class Page1 : System.Web.UI.Page…

0