开发者

mvc session timeout

开发者 https://www.devze.com 2022-12-12 12:50 出处:网络
I\'m using mvc form authenticate. After session Timeout it\'s automatically redirecting to 开发者_运维百科login page.

I'm using mvc form authenticate. After session Timeout it's automatically redirecting to 开发者_运维百科login page.

How can I redirect to some other page?


Change the loginUrl attribute of the authentication/forms element in your web.config to the URL that you want to redirect anonymous users to when they attempt to access a restricted resource.

0

精彩评论

暂无评论...
验证码 换一张
取 消