asp session timeout on IIS6

  • Thread starter Thread starter scott
  • Start date Start date
S

scott

Hi,

I have a aspx (.net) application running on IIS6 pulling data from SQL2000
using XML.

The session keeps timing out after a minute and im forced to login again.

I have set the following on IIS:

connection time out 600 seconds
application configuration - enable session state 20 mins
application configuration - ASP script timeout 600 seconds
application pool - recycle worker processes 1740 mins
application pool - recycle worker processes (number of request) 35000

Can anyone suggest anymore settings I can tamper with or tests I can run ?

Thanks for your time.
Scott.
 
"Connection Time" is only for connecting to the database.
If you're using a SqlCommand or OleDbCommand object, there's a
CommandTimeout property that you need to set. Its default is 30 seconds.

Can't tell you how bad this one bit me too.
 
Hi,

Thanks for reply.

Will have a look at SqlCommand or OleDbCommand but again it works locally ok
hence we think its IIS6 thats the problem.

Scott
 
figured out what it was.....

there was a batch file scheduled to copy files from an ftp site over the
aspx pages......was simply overwriting the file and killing the session.

thanks for your help and sorry to waste your time
Scott.
 
Back
Top