Changing the default value of session's variable timeout in asp.net mvc

前端 未结 5 1029
半阙折子戏
半阙折子戏 2020-12-30 03:31

I have an Asp.net Mvc application with razor views engine , in which i used a variable Session[\'user\'] : when an user log on the application Session[\'u

5条回答
  •  梦谈多话
    2020-12-30 03:50

    It is not possible to set the session time out to unlimited.
    Instead set the session time out to a high value.
    Example:

    
      
        
      
    
    

提交回复
热议问题