Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net mvc 如何在MVC5中同步会话和表单身份验证超时_Asp.net Mvc_Security_Session_Form Authentication - Fatal编程技术网

Asp.net mvc 如何在MVC5中同步会话和表单身份验证超时

Asp.net mvc 如何在MVC5中同步会话和表单身份验证超时,asp.net-mvc,security,session,form-authentication,Asp.net Mvc,Security,Session,Form Authentication,在myMVC 5中,应用程序会话在表单身份验证超时之前过期 我想同步会话和表单身份验证超时 我该怎么做 如果会话过期,我是否应该注销当前用户?如果是,那怎么办

在my
MVC 5中,应用程序会话在表单身份验证超时之前过期

我想同步会话和表单身份验证超时

  • 我该怎么做
  • 如果会话过期,我是否应该注销当前用户?如果是,那怎么办