[thelist] cookies in perl/cgi
Adrian Fischer
adrian at logo-logic.com
Mon Jul 24 02:44:44 CDT 2000
Again ..thanks Anthony,
I finally got it so that I can set a cookie but I want it to expire when the
browser is closed. I am setting using the date as you suggested :
print "Set-Cookie: approved=YES; expires=Tue-25-Jul-2000 00:00:00 GMT;
Could you please explain the format for getting it to expire when the
browser closes?
> #Setting Cookie
> print "Content-type: text/html\n";
> print "Set-Cookie: CookieName=Value; expires=$varGMTExpireDate
GMT;path=/; \n\n";
Geeze...I hope I can sort out how to read the cookie easier than I managed
to work out how to set it.
Thanks again
Adrian Fischer
More information about the thelist
mailing list