JetSetGo uses $_SESSION variable poorly
-
The Jet Set Go WooCommerce plugin uses $_SESSION. This is an anti-pattern for scalable/cloud hosting systems which are becoming increasingly common. See https://pantheon.io/docs/wordpress-sessions/.
It also writes cookies with the name starting with “SSESS” which Varnish caching blocks.
Can you adjust the plugin to work better across distributed hosting environments? At present, the use of the $_SESSION variable in cookie-based session tracking named “SSESS” busts our cache so that our server performance is severely hindered. Even just renaming the cookie from SESS… to, say, STYXKEY_… would fix the problem.
This would be the case for any host that uses Varnish caching for WordPress.
- The topic ‘JetSetGo uses $_SESSION variable poorly’ is closed to new replies.