Microsoft Windows CE 3.0  

Generating a Cookie Using a CGI Script

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Cookies are generated by including a Set-Cookie header as part of a CGI script included in the HTTP response to a request.

The following example is a CGI script that includes a Set-Cookie header using Perl.

print "Set-Cookie:Test=test_value; expires=Sat,
01-Jan-2000 00:00:00 GMT; path=/;"


 Last updated on Friday, April 02, 2004

© 2004 Microsoft Corporation. All rights reserved.