Jump to content

UniSession Exceptions


FastCards

Recommended Posts

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

 

 

 

 

 

 

 

Link to comment
Share on other sites

I should add that this code in Server Module is why each exception causes 2 lines to be written to the log.

 

procedure TServer.UniGUIServerModuleException(Sender: TUniGUIMainModule; AException: Exception; var Handled: Boolean);

begin

    Server.Logger.AddLog('Exception',AException.Message);

end;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...