开发者

mvc session timeout

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜