Changeset 100 for trunk/Packages/CoolWeb/WebServer/UHTTPServerTCP.pas
- Timestamp:
- Oct 2, 2012, 2:52:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/WebServer/UHTTPServerTCP.pas
r99 r100 121 121 // Handle cookies 122 122 for I := 0 to Cookies.Count - 1 do 123 Headers.Add('Set-Cookie', Cookies. Names[I] + '=' + Cookies.ValueFromIndex[I]);123 Headers.Add('Set-Cookie', Cookies.Keys[I] + '=' + Cookies.Items[I].Value); 124 124 // + ';path=/;expires=' + RFC822DateTime(Now); 125 125
Note:
See TracChangeset
for help on using the changeset viewer.