cookie expire on browser exit
Posted on 2002-03-29
I used the following script to set a cookie in Perl:
my $cookie_out = $query->cookie(-name=>'TEST_COOKIE',
Instead of the cookie expiring after a set period of time, I want the cookie to expire when the user closes his browser window. Basically, I want to create a per-session cookie. How do I accomplish this? I can't find documentation anywhere on this.