Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Don't want duplicate cookies with the same name

by Gloom (Monk)
on Jan 23, 2001 at 20:57 UTC ( #53723=note: print w/replies, xml ) Need Help??


in reply to Don't want duplicate cookies with the same name

Store your cookies in a hash, sorted by name.
I think it's a good solution to disallow duplicate entry.
You can also verify if a cookie already exits with the exists statment.
  • Comment on Re: Don't want duplicate cookies with the same name

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://53723]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2020-07-03 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?