1 |
The Brower passes to server any cookies that are valid for a given page in HTTP header
|
2 |
Note only name=value is passed because PATH DOMAIN SECURE and EXPIRES are used to check if cookie should be passed
|
3 |
The server stores cookie strings in $HTTP_COOKIE environment variable as name1=value1; name2=value2;
-
It is easy for CGI script to decode this $HTTP_COOKIE environment variable
|
4 |
One can send cookies back to client using Set-cookie: name1=value1; expires= .. ; domain= ...; etc. before the content-type: text/html header line
|