Ario.Paxaz Posted February 24, 2018 Share Posted February 24, 2018 Do you use a self signed certificate or a trusted? I use trusted certificate. I had set up in the URL='https://X.X.X.X:8070/...'and the problem was it. After I set it up in the URL='https://myaddres:8070/...' the problem solved in MsgSrv. Best Regards. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted March 1, 2018 Share Posted March 1, 2018 Hi I test MsgCli Sample,and by Send using AJAX button ,I don't have any problem in standalone and ISAPI . But when I send message by Send using UniGuiServer button ,in standalone I don't have any problem ,but when I convert project to ISAPI, the browser show : "Could not load SSL library. Of course I change the following Procedure for using SSL. procedure TfrmMsgCliCtrl.UniFormCreate(Sender: TObject); var S: String; begin httpPostMsg.HandleRedirects := true; httpPostMsg.AllowCookies := true; httpPostMsg.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(httpPostMsg); httpPostMsg.CookieManager := TIdCookieManager.Create(httpPostMsg); with TIdSSLIOHandlerSocketOpenSSL(httpPostMsg.IOHandler) do begin SSLOptions.RootCertFile := UniServerModule.StartPath + 'root.crt'; SSLOptions.CertFile := UniServerModule.StartPath + 'cert.cer'; SSLOptions.KeyFile := UniServerModule.StartPath + 'key.pem'; OnGetPassword := OnGetPassword; end; S:='https://MY Addres:8070/'; Script.Text := StringReplace(Script.Text, '$baseUrl$', S, []); edtBaseURL.Text := S; edtSessionID.Text := UniSession.SessionID; // create objects and init: FSL := TStringList.Create; FSL.Add('sid=' + edtSessionID.Text); FSL.Add('msg='); end; procedure TfrmMsgCliCtrl.OnGetPassword(var APassword: string); begin APassword := 'My Password'; end; Best Regards. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted March 1, 2018 Share Posted March 1, 2018 Hi Windows 2012(64 bit) installed on my server . After copy libeay32.dll,ssleay32.dll to SysWOW64 folder,the problem solved. Best Regards. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted March 3, 2018 Share Posted March 3, 2018 Hi The session remain open if the close button is not clicked and only the tab or browser closes. I write below code in the window.close of Ext.window.Window[Window].and check it in OnAjaxEvent . function window.close(panel, eOpts) { if (confirm("Exit?")) { onbeforeunload = null; onunload = null; ajaxRequest(sender, "CloseThisSession", []); }; } if SameText(EventName, 'CloseThisSession') then begin UniApplication.Terminate; end; But don't work. How to can fix it? Best Regards. Quote Link to comment Share on other sites More sharing options...
quanliking Posted September 5, 2018 Share Posted September 5, 2018 Thanks, Oliver Morsch. Very useful for my project. One question: How to display messages from msg server in Edit or Memo instead of popping a MessageBox? Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted September 5, 2018 Author Share Posted September 5, 2018 One question: How to display messages from msg server in Edit or Memo instead of popping a MessageBox? You can send something like this: #:frmMsgCliCtrl.edtMsgTxt.inputEl.dom.value = "Test" Quote Link to comment Share on other sites More sharing options...
quanliking Posted September 5, 2018 Share Posted September 5, 2018 Thanks. Cool........ Quote Link to comment Share on other sites More sharing options...
abbaouiabdallah Posted July 15, 2021 Share Posted July 15, 2021 On 6/16/2013 at 4:03 AM, Oliver Morsch said: MsgSrv.zipUnavailable i can't download it ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 15, 2021 Share Posted July 15, 2021 1 minute ago, abbaouiabdallah said: i can't download it ? Hello, Quote Link to comment Share on other sites More sharing options...
abbaouiabdallah Posted July 15, 2021 Share Posted July 15, 2021 11 minutes ago, Sherzod said: Bonjour, how can i subscribe Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 15, 2021 Share Posted July 15, 2021 1 minute ago, abbaouiabdallah said: how can i subscribe https://sites.fastspring.com/fmsoft/product/unigui_prods?member=new&language=en 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.