Jump to content

How Apache identifies clients/browsers?


alluoshi

Recommended Posts

Hi guys. I would like to know how Apache identifies clients/browsers. If many users are accessing a multi-user web application through Apache at the same time from their browsers, what is the method that Apache uses to identify each client or even each browser on the same machine?

Link to comment
Share on other sites

There is no reliable way to know who/what is connecting to a server.  HTTP is a very trusting protocol (because it has to be, not because it has a flaw [in that respect]).

 

Apache doesn't specifically ID clients/browsers.  It knows the IP address, and it knows the headers the client sent.  That's all it knows.  It only knows what the client tells it.  And all of the information is very, very easily fake-able.

 

"what is the method that Apache uses to identify each client or even each browser on the same machine?"

 

That could be told by IP address (although, IP addresses can be the same for computers behind a router too, so it could actually be multiple computers).  There's no solid way to know if a subsequent, or even a concurrent request is from the same machine.

Link to comment
Share on other sites

After doing some experiments and testing the log file, I noticed that each client/browser is identified by a token. But this token comes from php and not from Apache. As you said, Apache knows the ip address of the client but a client might use many browsers on the same machine. So do you think that the identification of each client comes from php or any server side scripting?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.