herculanojs Posted January 12, 2018 Share Posted January 12, 2018 I'm having trouble understanding how it works. I am sending an html text to end a session like this: There have been faults here and I have an html message of instructions to the user. UniSession.Terminate (my html message); This works fine if I do not set anything in UniMainModule.ServerMessages.TerminateTemplate Here I have a html message by standardizing the closure sa session and link to reconnection. In the UniMainModule create I'm setting a different html code for UniMainModule.ServerMessages.TerminateTemplate for when the session is closed. If UniMainModule.ServerMessages.TerminateTemplate I did not report anything, the first code works. If something is reported, the first code is ignored and the second code is shown. If I sent a specific message to close the session, should not this message be observed? --------------------------------------------------------------------------------- Estou com dificuldade para entender o funcionamento. Estou enviando um texto html para encerrar uma sessão desta forma: Aqui ocorreu falhas e tenho uma mensagem html de instruções ao usuário. UniSession.Terminate( minha mensagem html); Isso funciona bem, se eu não definir nada em UniMainModule.ServerMessages.TerminateTemplate Aqui tenho uma mensagem html padronizando o encerramento sa sessão e link para reconexão. No create do UniMainModule estou definindo um código diferente de html para UniMainModule.ServerMessages.TerminateTemplate para quando a sessão for encerrada. Se UniMainModule.ServerMessages.TerminateTemplate eu não informo nada, o primeiro código funciona. Se informo algo, o primeiro código é ignorado e mostrado o segundo código. Se enviei uma mensagem específica para encerramento da sessão, não deveria ser observado essa mensagem? Link to comment Share on other sites More sharing options...
Sherzod Posted January 13, 2018 Share Posted January 13, 2018 Hi, UniMainModule.ServerMessages.TerminateTemplate is the primary, the fact that you change the "terminate text" is part of UniMainModule.ServerMessages.TerminateTemplate: [###message###] 1 Link to comment Share on other sites More sharing options...
herculanojs Posted January 14, 2018 Author Share Posted January 14, 2018 ok, tanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now