I'm looking for a way to keep track of a HTTP 1.1 connection kept alive across requests, in order to get a ftp-like session. The idea would be to have an authentication at first request, and then, keeping the authentication valid while the socket is still open (with HTTP 1.1 keep-alive feature).
I've been searching for such a solution without much success until here.
I'm looking for information, such as:
- is there somewhere a socket ID available from apache in PHP?
- is there a module allowing to add information to an HTTP 1.1 connection (something that could be used from PHP)?
Any other idea?