asp session timeout on IIS6

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.
 
N

Nevyn Twyll

"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.
 
S

scott

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
 
S

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top