简体   繁体   中英

How quit form authentication auto redirect

I need for my asp.net aplication not auto-redirect to my web.config login page when i hit Session.abandon() methods. some ideas? this is my web.config file

You can do:

Response.Redirect("somePage.aspx")

after you do Session.Abandon()

for more information

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