WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Don't set PHPSESSION cookie for every visitor at the site (2 posts)

  1. Otto Kekäläinen
    Member
    Posted 1 year ago #

    I've noticed every visitor to my site get set at PHP session cookie.
    I dumped the PHP session database and the content seems to be:

    array(1) {
      ["events-manager"]=>
      array(1) {
        ["notices"]=>
        string(83) "a:4:{s:6:"errors";a:0:{}s:5:"infos";a:0:{}s:6:"alerts";a:0:{}s:8:"confirms";a:0:{}}"
      }
    }

    Why do you need to set this cookie to each and every visitor to the site? Isn't it enough to set PHP sessions to WP admins or people who submit events, or register or something?

    The cookie is bad because is bursts caches. Even with correct cache and expire headers set, proxies and caches will refuse to cache anything from my site as long as they detect a session cookies, because that implies that the content varies from user to user, when it in fact does not.

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    Hi Otto, thanks for the suggestions, it's something we'll definitely look at asap (already on our todo list) but atm we have a lot on our plate that needs to get seen to first.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic