How can I set infinity session time out in asp.net project
问题 I'm working on asp.net project. how can I increase the session timeout? (infinity timeout) Or should I do this on IIS? If it is possible, please explain. 回答1: You can set session timeout in web.config as shown below. The value is showing minutes, so you can set as long as you want, up until a year. <configuration> <system.web> <sessionState timeout="200"></sessionState> </system.web> </configuration> The Timeout property can be set in the Web.config file for an application using the timeout