Solved

WEB Server programming question !

Posted on 2002-05-15
6
136 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Detect CR LF to each line 12 153
Unix Command -- Challenging  question 7 87
wordappend challenge 8 150
how to use laptop or pad camera in vb.net windows application 2 55
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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. …
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now