Latest

ASP.NET : How to solve logging out before timeout expires problem

A while ago I had a task of setting up an old ASP.NET 3.5 application on a shared hosting server and after I was done, the application worked as it should except for one important bit. The application used a Forms Authentication to authenticate users and after users logged in they were getting logging out and redirected to login page after a really short amount of time, usually only after a few minutes.
In this article I will show different ways I tried to locate this problem and how I finally managed to fix this issue.

Read More

.NET : How to make ELMAH log HttpRequestValidationException Error

ELMAH (Error Logging Modules and Handlers) is an open source error logging framework for ASP.NET and for ASP.NET MVC. When added to the web application, exceptions that are thrown will trigger event handlers in the ELMAH that will log nearly all unhandled exceptions, but using ASP.NET 4 there is one Exception type that the ELMAH v1.2 is unable to log and that is HttpRequestValidationException.

In this article you will learn three ways to make ELMAH log this specific exception.

Read More

Share this page

Back to Top