I have a form that sits behind ASP.NET forms authentication. So far, the implementation has been consistent with a typical out-of-box configuration.
One page allows users to send messages. If a user sits on this page for a long time to compose a message, he may expire after the expiration of the authentication session. In this case, the message is not recorded ... they are simply redirected to the login page.
What approach should be taken to prevent the loss of an unsuccessful event with a long message?
Obviously, I could just make the auth session very long, but there are other factors in the system that prevent this approach. Is there a way to make an exception for this particular page so that it never redirects to Login while it is posting back?
source
share