Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgi string from different applications

Status
Not open for further replies.

igowi

Programmer
Sep 18, 2001
45
US
When a cgi string is sent from a web browser, the web server could notice which web browser send this string??

If it's sent by a Java program, the server knows this is not sent by a web browser???

The server could act differently depending on who sent this cgi string???
 
You can detect this by using the browser detection environment variable (HTTP_USER_AGENT), and base all your different acts upon the choices.

I'm not sure what happens when it's sent by the java program, but it's worth seeing if there is any difference in the HTTP_USER_AGENT.


wzrd
 
Thanks.
:)
I don't know how I can check "HTTP_USER_AGENT".
Please let me know.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top