Jump to content

picyka

uniGUI Subscriber
  • Posts

    717
  • Joined

  • Last visited

  • Days Won

    11

picyka last won the day on August 1

picyka had the most liked content!

1 Follower

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

picyka's Achievements

Advanced Member

Advanced Member (4/4)

76

Reputation

  1. I will report my scenario here, VPS 4gb RAM, 2 core, SSD API: XData DB: Postgres Sessions: 30-50 Server is still quiet
  2. picyka

    TUniPDFFrame

    Worked perfectly
  3. picyka

    TUniPDFFrame

    Test with example C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\PDFViewer - UniPDFFrame (does not work) PDF sent in private
  4. Are the system logs showing any errors? Or even the windows logs
  5. Does your server have a good configuration, should it be fast, a doubt, the whole system is slow, or some specific routine? What would be the server latency?
  6. picyka

    Update System

    Thanks for your attention, I'll try something here Thanks
  7. picyka

    Update System

    Good morning friends, yeah, if I don't know which version my session is, I can't do anything. I don't know if we have this information, It seems that when I use HyperServer some functions are missing.
  8. picyka

    Update System

    procedure TMainForm.UniFormCreate(Sender: TObject); begin UniSession.AddJS('socket.addEventListener(''message'', function (event) { ' + ' alert(event.data); ' + ' ajaxRequest('+Self.WebForm.JSName+', "_socket", [''text='' + event.data]); ' + '});'); end;
  9. picyka

    Update System

    socket.addEventListener('message', function (event) { alert(event.data); ajaxRequest(MainForm.JSName, "Message", event.data); }); How to put ajaxRequest to get the data coming from the server in the events?
  10. picyka

    Update System

    UniSession.AddJS('socket.send('''+Self.UniEdit1.Text+''');');
  11. picyka

    Update System

    Two questions: Is there any way for me to know what is the current version of the session I'm in? How to use this code in unigui? <script type="text/javascript"> const socket = new WebSocket('ws://localhost:8080'); socket.addEventListener('open', function (event) { socket.send('Hello Server!'); }); socket.addEventListener('message', function (event) { var today = new Date(); var date = String(today.getDate()).padStart(2, '0') + '/' + String(today.getMonth() + 1).padStart(2, '0') + '/' + today.getFullYear(); var time = String(today.getHours()).padStart(2, '0') + ":" + String(today.getMinutes()).padStart(2, '0') + ":" + String(today.getSeconds()).padStart(2, '0'); var dateTime = date+' '+time; $("#log").append( "<tr>" + "<th>" + dateTime + "</th>" + "<th>" + event.data + "</th>" + "</tr>" ); }); function sendMessage() { socket.send(document.getElementById("textMessage").value); }; </script> GitHub - mateusvicente100/bird-socket-server: Este é um servidor websocket para Delphi.
  12. picyka

    Update System

    using the hyperserver, is there a way to notify the sessions? or would have to wait for websocckets
  13. picyka

    TUniPDFFrame

    C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\PDFViewer - (it works) C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\PDFViewer - UniPDFFrame (does not work)
×
×
  • Create New...