setting cookies from singlepage controller?
Permalink
is there a method to hook into to set cookies pre-header from a singlepage controller?
I can't seem to get them to take. tried "on_before_render" and "on_start".
thoughts?
ChadStrat
I can't seem to get them to take. tried "on_before_render" and "on_start".
thoughts?
ChadStrat
if they truly won't take,(not sure) then you would want to extend on page_view, compare the page(or its controller), and do it there?
You could always set the cookie via javascript.
you would think. but not that I can tell. headers already sent. nullifying any cookies trying to set.
C
C
the database backup uses cookies set in javascript, iconicschema is right. You can see an example right in core to use for your next app Chad.
Good call iconicschema :)
Good call iconicschema :)
Chad, the themeswitcher block uses cookies :)