WEB Server programming question !

Hi to all,

I have a little question about web server programming.

I have written a little web server using CASyncSocket class. The problem i encounter, is that I never now when the internet explorer application on client side has quit.

Is it possible to know it ?
mike_marquetAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
DarthModConnect With a Mentor Commented:
Submitted to PAQ with points refunded (50)

DarthMod
Community Support Moderator
0
 
migelCommented:
Hi!
session timeouts?
0
 
jhanceCommented:
Is this an HTTP 1.0 or 1.1 server?

If 1.0, as soon as the HTTP request is finished, the server closes the connection.

If 1.1, it's the same as 1.0 unless the KEEP ALIVE option was specified by the client.

If 1.1 and KEEP ALIVE, use a watch for an FD_CLOSE message and also a timeout.
0
 
mike_marquetAuthor Commented:
I have implemented a session timeout but the problem is that I can reconnect to the server only after the previous session has expired.

This mean that the internet explorer will receive the 'no more session available' page.
0
All Courses

From novice to tech pro — start learning today.