BenRussell
Programmer
I need to set a cookie (without using a module since the script will be used on multiple servers). I wanted to use the
print "Set-Cookie: Information=$Information; expires=WHENEVER; path=/\n";
but I need to know how to set the expiration to either, 1 hour, 1 day, 1 week, or 1 month
do i just use instead of "WHENEVER", "+1h, +1d, +1w, +1m" not all at once, but you know what i mean.
Thanks. - Ben Russell
- President of Intracor Technologies (
print "Set-Cookie: Information=$Information; expires=WHENEVER; path=/\n";
but I need to know how to set the expiration to either, 1 hour, 1 day, 1 week, or 1 month
do i just use instead of "WHENEVER", "+1h, +1d, +1w, +1m" not all at once, but you know what i mean.
Thanks. - Ben Russell
- President of Intracor Technologies (