Incorrect Page Redirection Behavior

Problem

When the system hosting your application is running low on memory, the Microsoft IIS web server may start swapping HTTP context to the system’s hard drive which can cause incorrect page redirection behavior.  For example, users could experience:

All these events are caused by incorrect timing when different events are being handled in a page’s code-behind when retrieving login information and navigation history from the application’s Session context if this context was swapped to the hard drive by Microsoft IIS.

Solution

Increase the physical memory on your application server or close other programs to free up memory.

See Also

Application Runs But No Data is Displayed