retrieveing entire user agent

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

How do i do this WITHOUT the use of javascript...

I need the entire user agent string, for example

"Mozilla/4.0 (compatible; MSIE 6.0; Win32)"

I need to have this in ASP.NET to be added directly to a database field
without the use of java script... how would i retrieve this whole string?
thanks!
 
Request.ServerVariables["HTTP_USER_AGENT"] should do it...

Hope this helps,

Mun
 
Back
Top