Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11745

Re: detecting a file in use

Date 2013-11-06 19:01 +0100
From Luuk <luuk@invalid.lan>
Newsgroups comp.lang.php
Subject Re: detecting a file in use
References <19q44k7e0oext.1x1a126s3btq$.dlg@40tude.net>
Message-ID <jocqka-l9j.ln1@luuk.invalid.lan> (permalink)

Show all headers | View raw


On 06-11-2013 18:12, richard wrote:
> What should be used to know when a request has been made for the server to
> load an audio file?
> As I see it, the server has to know that a request has been made.
>
> You, the user, using your browser, sees a list of songs that you can play.
> You click that link, the browser sends a request to fetch that file.
> This is the point in time when I want to know that the request has been
> made.
> Javascript takes care of the playing side.
> But still, the server has to have some way of knowing which audio file is
> being requested and whether or not buffering is needed.
>
> Now that the audio file has played, the server needs to know that file has
> completed downloading.
> So what do I use to know this has happened?
>

You need to have a basic understanding of the HTTP-protocol.
This is (i think it is) considered off-topic in comp.lang.php

Maybe microsoft.public.winhttp is a good place to ask?

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

detecting a file in use richard <noreply@example.com> - 2013-11-06 12:12 -0500
  Re: detecting a file in use "J.O. Aho" <user@example.net> - 2013-11-06 18:34 +0100
  Re: detecting a file in use Tobiah <toby@tobiah.org> - 2013-11-06 09:36 -0800
  Re: detecting a file in use The Natural Philosopher <tnp@invalid.invalid> - 2013-11-06 17:36 +0000
  Re: detecting a file in use Luuk <luuk@invalid.lan> - 2013-11-06 19:01 +0100

csiph-web