[rochester-pm-list] Opinion...

Brian Mathis bmathis at directedge.com
Wed Jan 5 16:23:28 CST 2000


On Wed, 5 Jan 2000, Fred Edmister wrote:
>          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

Functionally, 1 and 2 are exactly the same thing.  There's just a
programmatic interface for it.  If you are a purist, 2 would be the way to
go.

-- 
Brian Mathis
Direct Edge
http://www.directedge.com




More information about the Rochester-pm mailing list