Jump to content

jmonty77

uniGUI Subscriber
  • Posts

    97
  • Joined

  • Last visited

  • Days Won

    1

jmonty77 last won the day on September 30 2016

jmonty77 had the most liked content!

Recent Profile Visitors

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

jmonty77's Achievements

Member

Member (2/4)

3

Reputation

  1. Thank you! When is it expected to be available a new version? I'm waiting it to renew my subscription.
  2. Hello, I've realised that this happens when there's httpcommand event in server: procedure TUniServerModule.UniGUIServerModuleHTTPCommand( ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var Handled: Boolean); begin // end; The code can be empty. If I remove this event, error 401 is gone. I tested it with a new project and only putting a timer in mainform. maxrequest=1
  3. But maxrequests is actuating in IIS ISAPI, because if I set maxrequest=1 and I start a session, 401 is received in /HandleEvent
  4. Hello, When serverlimits.maxrequests is reached, why I get 401 response in browser? Documentation says "it will keep the incoming requests waiting until the number of pending requests falls below the maximum value" I expect that /handleevent request would be queued until prior requests are processed. Thanks in advance
  5. I'm using unigui inside chromium embedded framework in native app, and I want to notify app about the failure.
  6. Hello, I want to capture ConnectionFailureRecovery event from javascript (Retrying... message). is it possible? Thanks
  7. This behaviour is still present in current release. Is there a way to solve or minimize it? Thanks
  8. Hello, create new project and put unilabel and unitimer. In unitimertimer: procedure TMainForm.UniTimer1Timer(Sender: TObject); begin unilabel1.Caption:='a'; end; In servermessages.invalidsessionmessagetemplate: <html> <body bgcolor="#dfe8f6"> <script> console.log('load event'); </script> <p style="text-align:center;color:#0000A0">[###message###]</p> <p style="text-align:center;color:#A05050"><a href="[###url###]">Restart application</a></p> </body> </html> Stop the server for some seconds to see some POST error messages in javascript console. Start server again and you will see lot of "load event" messages in javascript console. I think that "Restart application" page would have to be loaded only once. (I'm using ISAPI module)
  9. Hello, I want to have connectionfailurerecovery enabled. But after loading first invalidsessiontemplate, why the system continues trying to do post? If the server hangs, and if I have hundreds of clients, after starting it again some time later, it will receive hundred or thousands of queued post. Is there a way of stopping next requests after loading first invalidsessiontemplate page?
  10. I've a simple page with a single unitimer. When I stop server, I get POST https://localhost/invalidsession.dll/HandleEvent net::ERR_CONNECTION_REFUSED every few seconds in console. It's ok. But when I start server again, the page is loaded again for every post that failed. I can see it with a console.log in invalidsession template: <html> <body bgcolor="#dfe8f6"> <script> console.log('load'); </script> <p style="text-align:center;color:#0000A0">[###message###]</p> <p style="text-align:center;color:#A05050"><a href="[###url###]">Restart application</a></p> </body> </html> If the server is stopped some minutes, hundred invalidsession are fired after starting it. How to stop it at first invalid session? Thanks! Jordi
  11. He can launch the application later reloading the page manually, or clicking in "restart application", but If I kill his current session I don't want he can reenter in my system automatically. But If I disable "restartsessionontimeout", then if I must restart server, I lose all my clients until users manually start new session.
  12. Hello, uniServer has "restartsessionontimeout" option, but from server side I want to kill some sessions with SessionManager.Sessions.PurgeSessionById, and I don't want this sessions restart.
  13. Hello, is there any way to capture invalid session and send a custom response to client? In my server i need to terminate some sessions that must not automatically reload to main page when I kill them, but I want that if I restart server, and invalid session occurs, all clients automatically reload. Thanks Jordi
×
×
  • Create New...