Ignore:
Timestamp:
Sep 13, 2010, 11:45:27 AM (14 years ago)
Author:
george
Message:
  • Opraveno: Načítání session.
  • Opraveno: Úniky paměti.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebServer/UHTTPSessionMySQL.pas

    r33 r34  
    9292    if DbRows.Count > 0 then
    9393      DbRows2 := SqlDatabase.Query('UPDATE `HTTPSession` SET `Variables`="' + HandlerData.Session.Text
    94         + '" WHERE `Identification`="' + HandlerData.SessionId + '", `Time` = NOW()')
     94        + '", `Time` = NOW() WHERE `Identification`="' + HandlerData.SessionId + '"')
    9595    else DbRows2 := SqlDatabase.Query('INSERT INTO `HTTPSession` (`Time`,  `Variables`, `Identification`) VALUES (' +
    9696    'NOW(), "' + HandlerData.Session.Text + '", "' + HandlerData.SessionId + '")');
Note: See TracChangeset for help on using the changeset viewer.