in reply to Cookies without using CGI.pm
Basically, cookies are part of the HTTP header and have quite a few options... The code above sets a Session cookie (exists as long as the browser stays open). Expiring cookies need an extra expires option etc...print "Content-type: text/html\n"; print "Set-Cookie: MyCookie=Something\n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Retrieving cookies without CGI.pm
by fightliteracy (Acolyte) on Jul 24, 2001 at 19:51 UTC | |
by Beatnik (Parson) on Jul 25, 2001 at 00:09 UTC |