Forums
This topic is locked
Grab browser details
Replies
Replied 01 Mar 2002 17:18:51
01 Mar 2002 17:18:51 Hank Tan-Tenn replied:
Browser type is fairly easy:
Request.ServerVariables("HTTP_User_Agent"
You may need to use a string function to look for the browser version, e.g. "4.x".
Request.ServerVariables("HTTP_Accept_Language" gives the language supported by the browser as set by the user. BUT this may not be what you mean by country. One thing it can do is allow you to redirect users to different pages depending on their language setting.
Request.ServerVariables("HTTP_User_Agent"
You may need to use a string function to look for the browser version, e.g. "4.x".
Request.ServerVariables("HTTP_Accept_Language" gives the language supported by the browser as set by the user. BUT this may not be what you mean by country. One thing it can do is allow you to redirect users to different pages depending on their language setting.