retrieveing entire user agent

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!
 
M

Munsifali Rashid

Request.ServerVariables["HTTP_USER_AGENT"] should do it...

Hope this helps,

Mun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,269
Messages
2,571,097
Members
48,773
Latest member
Kaybee

Latest Threads

Top