robinhodemorais Posted January 29, 2021 Share Posted January 29, 2021 I'm trying to get some data from a mobile application, but the user's browser, version and operating system does not return procedure TMainmForm.UnimFormShow(Sender: TObject); var C : TUniClientInfoRec; SessionID:String; IPAddress:String; BrowserType: string; BrowserVersion: Integer; OSType: string; begin SessionID:=UniApplication.UniSession.SessionID; IPAddress:=UniApplication.RemoteAddress; C:=UniApplication.ClientInfoRec; BrowserType:=C.BrowserType; BrowserVersion:=C.BrowserVersion; OSType:=C.OSType; criaArquivoLog('Browser: '+BrowserType); criaArquivoLog('vVersaoBrowserUsuario: '+IntToStr(BrowserVersion)); criaArquivoLog('vSOUsuario: '+OSType); criaArquivoLog('SessionID: '+SessionID); criaArquivoLog('IPAddress: '+IPAddress); end; this is my return Quote Browser: vVersaoBrowserUsuario: 0 vSOUsuario: SessionID: yU2E8P8xUK1079AB450 IPAddress: 127.0.0.1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 29, 2021 Share Posted January 29, 2021 7 minutes ago, robinhodemorais said: I'm trying to get some data from a mobile application, but the user's browser, version and operating system does not return Hello, Can you also try this demo?: \FMSoft\Framework\uniGUI\Demos\Touch\Detect Platform Quote Link to comment Share on other sites More sharing options...
robinhodemorais Posted January 29, 2021 Author Share Posted January 29, 2021 perfect, thanks 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.