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.