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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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