Browser user-agent?

Answered
0
0

How do I access the user-agent string of the client’s browser? Searching Docs, I see it under ApplicationBase and ClientProfile, but I can’t access those objects.  Thanks.

  • You must to post comments
Best Answer
0
0

Hi Andrew,

WJ-8536 is also fixed in 1.4.41. Application.UserAgent etc. are available again.

Best regards
Frank

  • You must to post comments
0
0

Thanks Frank, forgot about that.

  • You must to post comments
1
0

Hi Andrew,

there is currently a bug (logged as WJ-8536 and fixed) that prevents you from accessing the Application properties like UserAgent.
The fix will be in our next Wisej release.

In the meantime you can use the ServerVariables like this:

Application.ServerVariables[“HTTP_USER_AGENT”];

Best regards
Frank

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.