Solved

WEB Server programming question !

Posted on 2002-05-15
6
138 Views
Last Modified: 2013-11-20
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 ?
0
Comment
Question by:mike_marquet
6 Comments
 
LVL 12

Expert Comment

by:migel
ID: 7010642
Hi!
session timeouts?
0
 
LVL 32

Expert Comment

by:jhance
ID: 7010667
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
 

Author Comment

by:mike_marquet
ID: 7013092
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
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 12084018
Submitted to PAQ with points refunded (50)

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hibernate methods 2 77
has77  challenge 9 87
withoutTen challenge 14 131
canBalance challenge 34 96
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question