Re: PassthruAPP question - when connection ends?



"rrrado" <rrrado@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3854007B-5277-4E8C-A918-7DCF3DA6BE64@xxxxxxxxxxxxx
I've found your great implementation PassthruAPP. I'd like to use it
to track all webbrowser's connections. The only thing I need to know
if threre is some connection running, so I increment some variable
when connection starts and decrement when it ends. I can see when
connection started when I receive BeginningTransaction().
But how can I know when it finished ?

When Terminate or Abort is called on your APP. Or, simply wait until
your APP is fully released so its reference count goes to zero.

Is there some object which is created for each connection

Your APP, of course.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: A month with a Nokia n95 (long)
    ... and can't play. ... One of these days I will get around to writing a small app to do it all on the fly. ... HSDPA works well and you can have more than one internet connection going at once. ... For example I can use it as a modem for my laptop and also "listen again" to a Beeb radio programme. ...
    (uk.telecom.mobile)
  • Memory leak with ADO
    ... When the app runs through the loop 2k times about 16-30 megs ... procedure TForm1.SpeedButton1Click(Sender: TObject); ... Caption = 'Connection String' ... object Connection: TADOConnection ...
    (borland.public.delphi.database.ado)
  • Re: ASP.NET data access
    ... > Since you need disconnected data, datareader is not necessary. ... >> which was then saved back to the db when the app was shut down. ... >> it is returned from the dataset saving a connection, ... The problem that this technique seems to have ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What is the perfect application model?
    ... If your app is only being used on an intranet or on a high speed internet connection fine. ... For the fiber connections it would be fine, but for the DSL users their productivity would drop considerably by forcing them to run all their apps through the network. ...
    (microsoft.public.dotnet.general)
  • Re: Follow Up...Solution (But a Bad One?)
    ... In our main app, we have created a "dummy" ADO connection which points ... directly to the Access backend. ...
    (microsoft.public.vb.database.ado)