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.
精彩评论