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