How to grab and check cookies
Permalink 2 users found helpfulI have one strange problem with it though. I have an application that sends an ajax form, and in that action a cookie is set. On my laptop it works fine, on the hostingserver is doesn't work.
When I use the plain setcookie() it just works fine. So I could use that one, but that will not be accepted in a addon (but C5 itself uses setcookie more than once!).
Still puzzling along.....
SnefIT
I would look at this.
http://www.concrete5.org/api/class-Concrete.Core.Cookie.CookieJar.h...
I was told by a core team member "generally, you shouldn't be using them for anything other than session". I think you can still use them to read cookies, just not for setting them.
Example: