close HTTP connection

  • Thread starter Thread starter Shachar
  • Start date Start date
S

Shachar

Hi All,

I have a .Net (2.0 beta 2) smart client running on windows XP,

connected to a .Net (2.0 beta 2) web service running on windows 2003.

When I don't asking for request from the server for more than 2 min the http
connection is close, I see it on performance monitor, to create the new
connection it takes around 2-3 sec.

Even if I ran the client on the server machine the connection is close after
2 min.

What should I configure to avoid the connection from being closed.

10x,

Shachar.
 
If I am not mistaken, this is more of an HTTP setting than something you
would have direct control of in your application.

Take a look at
http://www.microsoft.com/technet/pr...IIS/31a2f39c-4d59-4cba-905c-60e7af657e49.mspx
for some info on IIS 6.0 and some of it’s default timeout values.

Your options would be one of two things really, either increase the
ConnectionTimeout value on the server, or periodically use the established
connection with some sort of, KickTheDog function that simply acts as a keep
alive.

Brendan
 
KickTheDog

How sad that I read this in the middle of watching Animal Cops. ;-)

- Kev
 

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

Back
Top