Solved

WEB Server programming question !

Posted on 2002-05-15
6
140 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

724 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