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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top