#1 2015-04-02 07:24:49

nirnir
Member
Registered: 2013-11-11
Posts: 66

Exception in TSQLRestServer.SessionDelete

Hi ,
I noticed an exception occurs in TSQLRestServer.SessionDelete
sometimes Ctxt in nil , causing an exception on the log command .
Also , the library wouldn't compile when removing the WITHLOG directive .

    {$ifdef WITHLOG}
    fLogFamily.SynLog.Log(sllUserAuth,'Deleted session %/% from %/%',
      [User.LogonName,IDCardinal,RemoteIP,Ctxt.Call^.LowLevelConnectionID],self);
    {$endif}

Offline

#2 2015-04-02 07:57:54

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Exception in TSQLRestServer.SessionDelete

I guess this has already been fixed by http://synopse.info/fossil/info/a2636421a59bd20

Please update to the latest version of the source code.

Offline

Board footer

Powered by FluxBB