?
Solved

WEB Server programming question !

Posted on 2002-05-15
6
Medium Priority
?
141 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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