[rochester-pm-list] Opinion...
Fred Edmister
fedm at pkcommunications.com
Wed Jan 5 15:38:53 CST 2000
Thanks Brian! I'll just overwrite then! :) Makes it MUCH
easier! I found like 4 methods, 1) just overwrite the existing cookie, 2)
a "set-cookie->value=>('something')" , 3) retrieve the cookie, expire it,
then write the new one (which when I read I thought seemed a little
redundant but with Perl, you never know.. Sometimes you HAVE to kill one
thing before you can write another, or try to do it all in one shot like I
had to with the header thing) and 4 turned out to be something else... so
only 3... :) But thank you for your advice! :)
Fred
At 04:27 PM 1/5/00 -0500, you wrote:
>When you "expire" an existing cookie, you just overwrite it with some
>data, including a new date that is in the past, effectively "expiring" it.
>
>When you "change" that value of a cookie, you are also overwriting it with
>some data, except this time you are not including an expired date.
>
>They are both exactly the same thing, except for the date thing. If you
>were to "expire" the old one, then write a new one, it would require twice
>as many steps, and accomplish nothing more useful. Just overwrite it with
>new data.
>
>What were the other methods you found?
>
>--
>Brian Mathis
>Direct Edge
>http://www.directedge.com
More information about the Rochester-pm
mailing list