I am using forms authentication. When I try and cancel at the login screen I would like to close the app. The problem is that everytime I do, Application.Exit, it continues to try and do authentication and throws an error.
Also, when an invalid login occurs in continues on to the app and just doesn't show pages that the user is not a member of. The problem I have found is that the credentials are always authenticated. And I can't set the authentication myself.
Any help/direction would be great.
Edited by orcities - 11-Feb-2008 at 1:00pm