Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to set session and application timeout maximum ?
Posted
Updated 13-Feb-12 2:30am
v2

XML
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="525600"/>



in web.config file


usefull link

http://pinumallaprashantprofessionalexperience.wordpress.com/[^]
 
Share this answer
 
Add in your web.config

<configuration>
  <system.web>
    <sessionstate>
      mode="InProc"
      cookieless="true"
      timeout="30" />
  </sessionstate></system.web>
</configuration>
 
Share this answer
 
open you webconfig file, and look for <system.web> tag. add this code or look for these tags sessionstate and httpRuntim.

sample tag

HTML
<configuration>
  <system.web>
    <!-- change the timeout-->
    <sessionstate
      mode="InProc"
      cookieless="true"
      timeout="60"/>
     <!-- change the executionTimeout-->
    <httpruntime executionTimeout="60"/>
  </system.web>
</configuration>


for more info, try to read and understand about the timeout (from sessionState) and executionTimeout(from httpRuntime)


sessionState[^]

httpRuntime[^]
 
Share this answer
 
v2
Hi friend,

Please check once ur web.config file in that u will find ur session timeout....
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900