Jump to content

I need help urgently


Recommended Posts

What can cause this ?

 

[192.168.0.21]:EUniSessionException : Sessao invalida ou tempo esgotado : Addr: $00888C77

 

All my functions and events have try..catch and none is getting any exception.

 

Is there some timeout I need to configure ?

What if I do not want the session to timeout ? There is a way to do that ?

 

Link to post
Share on other sites
36 minutes ago, RobertoLopes said:

What if I do not want the session to timeout ? There is a way to do that ?

Use UniMainModule -> OnSessionTimeOut event

procedure TUniMainModule.UniGUIMainModuleSessionTimeout(ASession: TObject;
  var ExtendTimeOut: Integer);
begin
  ExtendTimeOut := 600000; // you can set "your" time in milliseconds
end;

 

Link to post
Share on other sites

Our application is "event driven" so we get external socket events to update parts of the screen, get database records, and stuff.

Since we cannot update the screen based on socket events we need some sort of timer running with 1s interval all the time. Is there a better way ?

I s there a way to make some Javascript code to make the timer local only (without send to the server) ? 

Link to post
Share on other sites
×
×
  • Create New...