rejetto forum

Author Topic: Bug: Logout function at server level [Fixed]  (Read 188916 times)

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
  • Posts: 13523
    • View Profile
Re: Bug: Logout function at server level
« on: May 09, 2020, 08:08:31 PM »
ok, i think this should be a solution
Code: [Select]
procedure TconnData.logout();
begin
freeAndNIL(session);
sessions.delete(sessions.IndexOf(sessionID));
sessionID:='';
usr:='';
pwd:='';
conn.delCookie(SESSION_COOKIE);
end; // logout

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team