Jump to content
uniGUI Discussion Forums
Fábio Matte

Detect browser in IIS or Apache

Recommended Posts

How do I detect the browser that is running the application?
 
Because this code only works right when I run in debugger:
var
   C: TUniClientInfoRec;
begin
   label_ra.Caption: = UniApplication.RemoteAddress;

   C: = UniApplication.ClientInfoRec;

   label_bt.Caption: = C.BrowserType;
   label_bv.Caption: = IntToStr (C.BrowserVersion);
   label_os.Caption: = C.OSType;

But when I run inside Apache or IIS, it is not returning me anything, it comes in white.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×