Jump to content

Search the Community

Showing results for tags 'unisession'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. I start a new project , then add a unibitbtn and wrote this lines for test procedure TMainForm.UniBitBtn1Click(Sender: TObject); begin begin try showmask('Wait...'); unisession.syncronize; Sleep(1000); finally hidemask; unisession.syncronize(); end; end; end; But it says [dcc32 Error] Main.pas(40): E2003 Undeclared identifier: 'syncronize' whats wrong ? should I add any unit ?
  2. Подскажите как отправить всем сессиям сообщение от сервера? использовал uniSession.Alert не получилось
  3. Ejemplo al presionar el botón ok procedure btnOKClick(Sender: TObject); procedure Imprimir; begin UniMainModule.CrearWebFilePath; UniSession.AddJS('window.open('+QuotedStr(UniMainModule.WebFilePath)+',"_blank", "status=no,location=no,resizable=no,dependent=yes,toolbar=no,menubar=no", "false");' ); end; begin UniScreenMask1.AttachedControl := btnOk; UniScreenMask1.TargetControl := Self; Self.MessageDlg('Desea imprimir el contenido?', mtConfirmation, mbYesNo, procedure (Sender: TComponent; Res: Integer) var cerrarModal: boolean; begin cerrarModal := Res = mrNo; if not cerrarModal then Imprimir else CloseModal; end); end; En ese ejemplo no sale nunca el mensaje, y mucho menos se abre la nueva ventana que contendría el archivo pdf a imprimir. La prueba fue hecha sobre Chrome. Porqué puede ser que no dispare el messagedlg?. Tampoco cierra el form porque nunca se ejecuta el callback
  4. Rav

    Global UniSession

    Hello! What is the point of using global UniSession from uniGUIApplication module? Is it safe to use this UniSession from global procedures? Or global procedures should be avoided? E.g. I want to make a global procedure reading data from cookies, can I use UniSession.UniApplication.Cookies safely?
  5. Hello, Sharing the things I'm learning. Example of how to call a function by external js unigui. This alert is pretty cool. Sincerely Alert.zip
  6. Greetings Uniguiers, The following entries are from my app's log files: MyApp: 00000F14: 09:29:07 [Exception]:Your MyApp session has terminated MyApp: 00000F14: 09:29:07 [HttpExtensionProc[157.203.255.2]]:EUniSessionException : Your MyApp session has terminated : Addr: $020C3196 On some days the logs show no entries at all. Others have the two lines shown above logged 5 times every second form up to a minute. In server module, I have ServerMessages.InvalidSessionMessage set to "Your MyApp session has terminated" so I know where the exception is coming from but I don't understand why. My own log files tell me that the user who's session caused the above message logged in at 09:26 (3 minutes before the timestamp on the messages) so it is not a timeout issue. Any idea why this happens? Some days I get no entries, some days I'll get 1 entry of the above lines and sometimes I'll get the same two lines repeated 5 times a second for about a minute. Thanks Andy
×
×
  • Create New...