Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Cookie handling

by afoken (Parson)
on Dec 05, 2012 at 19:49 UTC ( #1007379=note: print w/ replies, xml ) Need Help??


in reply to Cookie handling

# A bug in Netscape can cause several cookies with same name to # appear. The FIRST one in HTTP_COOKIE is the most recent version.

I know this comment from ancient times of CGI.pm. I think it is for Netscape Navigator 4 or even an older version. It is present in the oldest version available on CPAN, v2.45 released 1998-Nov-25. At that time, Netscape Navigator 4.08 was the latest version, and many users still used NN 4.0 or NN 3.x.

NN has not seen a new release since 2008 and is effectively dead. I consider the commented hack legacy code, almost cargo cult. It does not hurt to have it there, but I doubt it has any effect with any browser released in the last years.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)


Comment on Re: Cookie handling
Download Code
Re^2: Cookie handling
by McA (Curate) on Dec 06, 2012 at 11:45 UTC

    Hi,

    the funny thing is, that now (I don't know since when) it's not a bug to send more than one cookie with the same name.

    Best regards
    McA

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-09-22 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (184 votes), past polls