次のようなsessionTimeoutを実装しているASP.NETMVC4アプリケーションがあります。
<configuration>
<system.web>
<sessionState timeout="2"></sessionState>
</system.web>
</configuration>
そして認証において:
<configuration>
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="1" />
</authentication>
</system.web>
</configuration>
セッションの有効期限が切れた後(2分)、ログオンページにリダイレクトする必要がありますが、リダイレクトが発生しません。
リダイレクトするようにコードを変更するにはどうすればよいですか?