Setting Cookie with init hook causes ‘header already sent’
Based on research here and elsewhere, I have the following code that sets a cookie on a site: add_action( ‘init’, ‘my_set_cookie’,1 ); function … Read more
Based on research here and elsewhere, I have the following code that sets a cookie on a site: add_action( ‘init’, ‘my_set_cookie’,1 ); function … Read more
How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin? Here’s an explanation … Read more
According to EU Article 5(3) of the E-Privacy Directive (a.k.a ‘The Cookie Laws’), web sites that target EU users have to gain opt-in … Read more
For my authentication process I create a unique token when a user logs in and put that into a cookie which is used … Read more
I read some posts about “JWT vs Cookie” but they only made me more confused… I want some clarification, when people talking about … Read more
My site is hosted by a university that runs all external traffic through an alias. The actual URL of the server is accessible … Read more
I am pulling images from an ACF gallery that resides on another page. What I intend to do with this is to have … Read more
I’m trying to configure the WordPress cookie expiration time, but for some reason it’s not working. I went here: auth_cookie_expiration And put the … Read more
I need to show a popup where the user can choose the language and which section to open (partners, customers, support) and that … Read more
What is the difference between token authentication and authentication using cookies? I am trying to implement the Ember Auth Rails Demo but I … Read more