BenRussell
Programmer
I am making a logout script, but when I logout, and then try to log back on, it wont work.
I am using the following code to set the cookie :
print "Set-Cookie: Information=$Information; expires=Mon, 6-Feb-2045 00:00:00 GMT; path=/\n";
and the following to try to delete it :
print "Set-Cookie: Information=X|X|X|X; expires=Sat, 1-Apr-2001 00:00:00 GMT; path=/\n";
1-Apr-2001 is a previous date so it should delete automatically, but does not seem to be doing so. What should I do? - Ben Russell
- President of Intracor Technologies (
I am using the following code to set the cookie :
print "Set-Cookie: Information=$Information; expires=Mon, 6-Feb-2045 00:00:00 GMT; path=/\n";
and the following to try to delete it :
print "Set-Cookie: Information=X|X|X|X; expires=Sat, 1-Apr-2001 00:00:00 GMT; path=/\n";
1-Apr-2001 is a previous date so it should delete automatically, but does not seem to be doing so. What should I do? - Ben Russell
- President of Intracor Technologies (