Jump to content


Detect browser in IIS or Apache

detect browser iis apache

  • Please log in to reply
No replies to this topic

#1 fabiomatte


    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 67 posts

Posted 12 July 2018 - 01:54 PM

How do I detect the browser that is running the application?
Because this code only works right when I run in debugger:
   C: TUniClientInfoRec;
   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.

  • 0


UniGUIVersion  :                               PostgreSQL      : 9.6                                               

CustomCSS      : CSS3                                        RadStudio         : Delphi Tokyo Starter Edition     

Also tagged with one or more of these keywords: detect, browser, iis, apache

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users