<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Issue Tracker Starter Kit</title><link>http://forums.asp.net/155.aspx</link><description>Discussions about the Issue Tracker Starter Kit for ASP.NET 1.x.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to extend Session timeout?</title><link>http://forums.asp.net/thread/3129801.aspx</link><pubDate>Thu, 30 Apr 2009 05:53:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3129801</guid><dc:creator>hasan39</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3129801.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=155&amp;PostID=3129801</wfw:commentRss><description>&lt;p&gt;in web.config file find &amp;lt;sessionState&amp;gt; node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sessionState mode=&amp;quot;InProc&amp;quot; stateConnectionString=&amp;quot;tcpip=127.0.0.1:42424&amp;quot; sqlConnectionString=&amp;quot;data source=127.0.0.1;&lt;/p&gt;&lt;p&gt;user id=sa;password=&amp;quot; cookieless=&amp;quot;false&amp;quot; timeout=&amp;quot;20&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
default is 20 - change it and that&amp;#39;s it&lt;/p&gt;&lt;p&gt;&lt;b&gt;And also can try the followings:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;// Create a new ticket used for authentication&lt;br /&gt;FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(&amp;nbsp; 1, // Ticket version&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;br /&gt;&lt;/p&gt;&lt;div class="answerBody quoted" id="EchoTopic"&gt;&amp;nbsp; DateTime.Now.AddMinutes(60), // Date-&lt;span class="searchTerm"&gt;time&lt;/span&gt; to expire&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to extend Session timeout?</title><link>http://forums.asp.net/thread/1326330.aspx</link><pubDate>Tue, 27 Jun 2006 18:39:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1326330</guid><dc:creator>cshi@rothstaffing.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1326330.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=155&amp;PostID=1326330</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have been playing around with Issue Tracker source code, however I couldn't figure out how to extend the session timeout.&amp;nbsp; I believe the current timeout is around 20 minutes, which coincides with the default session state timeout.&amp;nbsp; But i found out that the session state is not defined in the web.config file.&amp;nbsp; This is because the Issue Tracker does not use the session state at all.&amp;nbsp; So by setting session state timeout to a longer time does not solve the problem.&amp;nbsp; Since&amp;nbsp;Issue Tracker&amp;nbsp;uses forms based authentication, it checks for (Request.IsAuthenticated == true) in the global.asax file.&amp;nbsp; A user is redirected to the login page if Request.IsAuthenticated returns false.&amp;nbsp; Apparently Request.IsAuthenticated is set to false after 20 minutes of idle time.&amp;nbsp; This is strange because the authentication ticket is set to expire in 10 hours (line 124 in global.asax.cs file) instead of 20 minutes.&amp;nbsp; And it seems to me Request.IsAuthenticated is not controlled by the authentication ticket because even&amp;nbsp;if i manually delete the cookie immediately after I login, the Request.IsAuthenticated still returns true.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Can anyone tell me how to extend the timeout so that Request.IsAuthenticated does not return false in like 1 hour?&amp;nbsp; Thanks.&lt;/p&gt;
&lt;p&gt;Chris Shi&lt;/p&gt;
&lt;p&gt;MCAD&lt;/p&gt;</description></item></channel></rss>