简体   繁体   中英

Forms Authentication Signout

I've developed two applications using ASP.Net MVC. I'm using Forms Authentication in both the applications. In web.configs i set the below properties cookieless="UseCookies" cookieName="ASP.NET_SessionId" of session state

  1. I accessed the applications simultaneously in two different tabs of a same browser
  2. In one application I clicked on Logout. It has redirected me to Login page.
  3. After doing this, when I try to access the second application, it is giving Page Cannot be displayed Error page.

It is accessible after deleting the Session Cookies.

Please give me some inputs on this.

Earlier I haven't specified any name for Auth cookie. I tested by giving different names for Forms Authentication Cookie. My Proplem is solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM