Title: Cookie creation
Last modified: November 5, 2019

---

# Cookie creation

 *  [azurecurve](https://wordpress.org/support/users/azurecurve/)
 * (@azurecurve)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/cookie-creation/)
 * Hi, I’m looking at using your plugin, but have identified two problems.
    1. Cookies are created all of the time and not only when users click the remember
       option.
    2. If cookies are blocked the age gate cannot be dismissed.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cookie-creation/#post-12147981)
 * Hi [@azurecurve](https://wordpress.org/support/users/azurecurve/),
 * Just to address your points:
    1. If remember me is not checked, the cookie will expire at the end of the session
    2. This is true, a message would be shown in this instance. It can kind of be circumvented
       by using the JavaScript version though every page would then be checked.
 * A bit more info though. Over the many iterations of the plugin different storage
   methods have be used such as proper sessions, local storage an so on. None really
   worked as well as the cookie approach and as cookies is the Cores approach, it
   seemed the best approach for the platform.
 * Is there a specific issue you have against cookie use?
 * Thanks
    Phil

Viewing 1 replies (of 1 total)

The topic ‘Cookie creation’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Phil](https://wordpress.org/support/users/philsbury/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/cookie-creation/#post-12147981)
 * Status: not resolved