I'm using Forms Authentication for my ASP.NET web application. When the session times out and the user tries to navigate to a different page, he/she will be redirected to the login page (based on the loginUrl) where he/she will be prompted to re-enter his/her credentials.
HOWEVER, I don't want this to apply to the LogOut link of my web application. I want the user to be able to log out immediately (regardless of whether or not the authorization ticket/cookie expired or not). It doesn't seem to make sense that you should receive a login prompt and have to reauthenticate yourself just so you can log out.
Anyone have any ideas how I can accomplish this?
HOWEVER, I don't want this to apply to the LogOut link of my web application. I want the user to be able to log out immediately (regardless of whether or not the authorization ticket/cookie expired or not). It doesn't seem to make sense that you should receive a login prompt and have to reauthenticate yourself just so you can log out.
Anyone have any ideas how I can accomplish this?