php - How do I set two cookies with the same name? -


when try this:

cookie::queue('somename', $val, 300, '/', 'main.example.com') cookie::queue('somename', $val, 300, '/', 'other.example.com') 

only 1 of cookies gets set, because queue function setting queued[$cookie->getname()] cookie, , both have same name. there way can queue 2 cookies same name?


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -