-1

Sometimes my application is getting UserAgent in the server variable HTTP_USER_AGENT. What does it mean and why it could not get my users browser information ?

1 Answer 1

0

It means that the client set:

User-Agent: UserAgent

in the HTTP headers. That is the information that the client sent.

Sign up to request clarification or add additional context in comments.

2 Comments

does that mean the client doesn't want my application to know such information ? I'm asking because I'm suspecting an attack.
We can only speculate on what the motivation of the person who set it was. There are any number of possible reasons. Concerns about privacy. Laziness. Concerns about being caught. Something else.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.