{"id":1591,"date":"2011-09-30T16:34:10","date_gmt":"2011-09-30T20:34:10","guid":{"rendered":"http:\/\/www.iowawebnet.com\/ein\/?p=1591"},"modified":"2011-09-30T16:35:02","modified_gmt":"2011-09-30T20:35:02","slug":"increase-session-timeout","status":"publish","type":"post","link":"https:\/\/www.iowawebnet.com\/ein\/2011\/09\/increase-session-timeout\/","title":{"rendered":"Increase session timeout"},"content":{"rendered":"<p>Increase session timeout<\/p>\n<pre>\r\nweb.config\r\n<code>\r\n&lt;configuration>\r\n    &lt;system.web>\r\n        &lt;sessionState timeout=\"240\"\/>\r\n        &lt;!-- increases session timeout from 20 minutes\r\n             to 240 minutes, or 4 hours\r\n         -->\r\n    &lt;\/system.web>\r\n&lt;\/configuration>\r\n<\/code>\r\n<\/pre>\n<p>However, when increasing the user session timeout keep in mind the following:<\/p>\n<pre>\r\n\"The default is 10 minutes. Session.Timeout has no hard-coded limit. Most<br \/>\r\nWeb administrators set this property to 8 minutes. It should not be set <br \/>\r\nhigher than 20 minutes (except in special cases) because every open session <br \/>\r\nis holding onto memory. It should also not be set lower than 4 minutes <br \/>\r\nbecause clients rarely respond within that time resulting in a loss of \r\nsession state.\"\r\nSurce <a target=\"_blank\" href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms525473%28v=VS.90%29.aspx\">Microsoft MSDN<\/a>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Increase session timeout web.config &lt;configuration> &lt;system.web> &lt;sessionState timeout=&#8221;240&#8243;\/> &lt;!&#8211; increases session timeout from 20 minutes to 240 minutes, or 4 hours &#8211;> &lt;\/system.web> &lt;\/configuration> However, when increasing the user session timeout keep in mind the following: &#8220;The default is 10 minutes. Session.Timeout has no hard-coded limit. Most Web administrators set this property to 8 minutes. [&hellip;]<\/p>\n","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,16],"tags":[64,65,66],"class_list":["post-1591","post","type-post","status-publish","format-standard","hentry","category-applications","category-net","tag-session","tag-state","tag-timeout"],"_links":{"self":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/1591"}],"collection":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/comments?post=1591"}],"version-history":[{"count":16,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/1591\/revisions"}],"predecessor-version":[{"id":1607,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/1591\/revisions\/1607"}],"wp:attachment":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/media?parent=1591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/categories?post=1591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/tags?post=1591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}