how to avoid session timeout in web.config

后端 未结 6 1925
清酒与你
清酒与你 2020-12-17 23:58

What should I write in web config file in asp.net so that my session time is extended. and please tell me the exact location where should I place the code in web config

6条回答
  •  余生分开走
    2020-12-18 00:59

    You can specify session time out in web.config file, can also use timespan--20 minutes is default, also The timeout attribute cannot be set to a value that is greater than 525,601 minutes (1 year) for the in-process and state-server modes.

    
        ...
    
    

提交回复
热议问题