comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Re: Gnoga Latest Updates
Date: Mon, 13 Oct 2014 18:28:28 +0000 (UTC)
Date: 2014-10-13T18:28:28+00:00	[thread overview]
Message-ID: <m1h5kc$259$1@dont-email.me> (raw)
In-Reply-To: 13fb4505-4abd-4d5b-b18d-d05aa0a4dcb9@googlegroups.com

On 2014-10-13, jeremiah.breeden@gmail.com <jeremiah.breeden@gmail.com> wrote:
>
> Question: Is there currently or will there be a way to tell when the
> user closes the browser window or navigates to a different URL?
>
> I am using Tutorial 2 as base example for this, but when a user does
> the following:
>
> Starts Tutorial 2
> Opens localhost:8080
> closes the browser

Closes the browser completely causing the browser executable to actually
exit or just closes the current window ?

At this point run netstat and see what state the connection is in.

> Reopens localhost:8080
>
> they get the error message:  Only one connection permitted.
>

[snip]
>
> I tried the On_Abort event, but it doesn't seem to call when the
> browser closes or you navigate to a different URL.  Is there something
> I can do.  I want this to be as seamless for my users as possible.
>

This behaviour is potentially browser specific; I could see how a
browser may potentially cache connections in case you decide to
go back to the page you just left.

After you browse to a different URL, check netstat and see if the
original connection is still in an ESTABLISHED state or if the
browser has actually closed the connection.

Simon.

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world


  reply	other threads:[~2014-10-13 18:28 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-12  3:49 Gnoga Latest Updates David Botton
2014-10-12 19:37 ` David Botton
2014-10-12 22:58   ` tonyg
2014-10-12 23:29     ` David Botton
2014-10-28 10:18       ` tonyg
2014-10-13  0:25     ` Jeffrey Carter
2014-10-13  0:12 ` David Botton
2014-10-13  6:05   ` David Botton
2014-10-13 16:22 ` jeremiah.breeden
2014-10-13 18:28   ` Simon Clubley [this message]
2014-10-13 21:12     ` David Botton
2014-10-13 21:20       ` David Botton
2014-10-13 23:29       ` Jeremiah
2014-10-13 23:34         ` David Botton
2014-10-13 23:58           ` Jeremiah
2014-10-14  2:38             ` David Botton
2014-10-14  2:45               ` David Botton
2014-10-14  0:06           ` David Botton
2014-10-14  0:24             ` David Botton
2014-10-14  2:26               ` David Botton
2014-10-15  2:01                 ` Jeremiah
2014-10-15  3:49                   ` David Botton
2014-10-14 23:52 ` David Botton
2014-10-15  0:30   ` David Botton
2014-10-15 15:54 ` David Botton
2014-10-19  4:40 ` David Botton
2014-10-19 12:59   ` David Botton
2014-10-19 21:36     ` Jeremiah
2014-10-19 22:01       ` David Botton
2014-10-19 23:02 ` David Botton
2014-10-20  0:42   ` Jeffrey Carter
2014-10-20 20:38     ` David Botton
2014-10-22  2:11       ` David Botton
2014-10-23  3:46         ` David Botton
2014-10-24  3:54           ` David Botton
2014-10-26  4:22             ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox