How To Forums

Rudebox How To Forums - Ask Anything, View How To's
HomeFAQSearchRegisterMemberlistUsergroupsLog in

Share | 

 Solving Session Errors

Go down 

Number of posts : 216
Registration date : 2007-01-01

PostSubject: Solving Session Errors   Mon Jun 30, 2008 12:40 am

Session Variables expiring before Session Timeout
Increasing the session timeout

Before you read further I recommend reading the below 3 links:


Where to look and what to change

Web.config file

Make sure the below 3 nodes are there under system.web

   <!-- setting a 120 minute timeout.Timeout is in minutes -->
   <sessionState timeout="120" />

   <!-- Make sure you have executionTimeoutThere -->
   <httpRuntime executionTimeout="9000" maxRequestLength="10240"/>   

   <!-- No Debug ex. with c#-->
   <compilation debug="false" defaultLanguage="c#">

Quote :
Reset IIS


Application Pool

Open IIS Manager

Expand Application Pools > DefaultAppPool

Right-click DefaultAppPool and view its Properties


Open IIS Manager

Expand Application Pools > ApplicationNamePool

Right-click ApplicationNamePool

and view its Properties

On the Performance tab, change the value for Shutdown worker processes after being idle for (time in minutes) to a number that is greater than or equal to the session timeout defined in web.config or disable it.

$Configure the application pool to only recycle after 120 minutes of idle-time.

Virtual Directory

Open IIS Manager

Expand Websites

Expand Website / Select Virtual Directory

Right Click > Properties

Click Virutal Directory Tab

Click Configuration

Click Options Tab

Click Options Tab

$ Check All

$ Increase Session Timeout and ASP script TimeOut


Open IIS Manager

Expand Websites

Select Website (ex. Default Website)

Right Click > Properties

Increase Connection Timeout to 900

$ Apply
Back to top Go down
View user profile
Solving Session Errors
Back to top 
Page 1 of 1
 Similar topics
» Software for solving chess problems / puzzles / endgame studies List
» 4th Tata Steel Studies Solving Competition
» Critter 1.6a
» Android Free Chess Software
» NPoints Season 6 is in Session!

Permissions in this forum:You cannot reply to topics in this forum How To Forums :: How To - Myspace / Website /Blog Utilities :: ASP .net-
Jump to: