]>
Commit | Line | Data |
---|---|---|
1 | diff -Naur gnump3d-3.0.org/bin/gnump3d2 gnump3d-3.0/bin/gnump3d2 | |
2 | --- gnump3d-3.0.org/bin/gnump3d2 2007-10-18 19:34:02.000000000 +0200 | |
3 | +++ gnump3d-3.0/bin/gnump3d2 2009-05-03 11:46:09.000000000 +0200 | |
4 | @@ -1345,8 +1345,8 @@ | |
5 | next if $key eq 'q' or $key eq 'play'; | |
6 | ||
7 | my $val = $ARGUMENTS{ $key }; | |
8 | - | |
9 | - $header .= "Set-Cookie: " . $key . "=" . $val . ";path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;\r\n"; | |
10 | + my $exptime=gmtime(time()+365*24*3600) . " GMT" ; | |
11 | + $header .= "Set-Cookie: " . $key . "=" . $val . ";path=/; expires=" . $exptime . ";\r\n"; | |
12 | } | |
13 | print "Header: $header\n"; | |
14 |