Changeset 34 for trunk/WebServer/UHTTPSessionMySQL.pas
- Timestamp:
- Sep 13, 2010, 11:45:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebServer/UHTTPSessionMySQL.pas
r33 r34 92 92 if DbRows.Count > 0 then 93 93 DbRows2 := SqlDatabase.Query('UPDATE `HTTPSession` SET `Variables`="' + HandlerData.Session.Text 94 + '" WHERE `Identification`="' + HandlerData.SessionId + '", `Time` = NOW()')94 + '", `Time` = NOW() WHERE `Identification`="' + HandlerData.SessionId + '"') 95 95 else DbRows2 := SqlDatabase.Query('INSERT INTO `HTTPSession` (`Time`, `Variables`, `Identification`) VALUES (' + 96 96 'NOW(), "' + HandlerData.Session.Text + '", "' + HandlerData.SessionId + '")');
Note:
See TracChangeset
for help on using the changeset viewer.