Changeset 97 for trunk/Packages/CoolWeb/Modules/UUser.pas
- Timestamp:
- Oct 2, 2012, 9:42:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/Modules/UUser.pas
r84 r97 68 68 end else begin 69 69 // Create new record 70 Database.Query(DbRows, 'INSERT INTO `UserOnline` (`User`, `ActivityTime`, `SessionId` ) ' +71 'VALUES (1, NOW(), "' + HandlerData.Request.Cookies.Values['SessionId'] + '" )');70 Database.Query(DbRows, 'INSERT INTO `UserOnline` (`User`, `ActivityTime`, `SessionId`, `ScriptName`) ' + 71 'VALUES (1, NOW(), "' + HandlerData.Request.Cookies.Values['SessionId'] + '", "")'); 72 72 Id := Database.LastInsertId; 73 73 User := 1;
Note:
See TracChangeset
for help on using the changeset viewer.