The code from the plugin that is generating the sessions are:
./wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/includes/class-wc-enhanced-ecommerce-google-analytics-integration.php:
//session_start inserted bcoz it gives warning
./wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/includes/class-wc-enhanced-ecommerce-google-analytics-integration.php:
session_start();
./wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/readme.txt:
* Fixed - session_start() function warning
So this is where they would want to start with evaluating their code,
when the plugin is deactivated, when you check the headers, the
x-cacheable statement changes from ‘no’ to ‘yes’. For example
The plugin is activated:
curl -I imwz.io
HTTP/1.1 301 Moved Permanently
Server: Apache
Set-Cookie: PHPSESSID=1c863b94e3941ead02fefb90d5d25661; path=/
Pragma: no-cache
X-UA-Compatible: IE=edge
Expires: Thu, 03 May 2018 17:38:44 GMT
Cache-Control: max-age=3600
Location: https://imwz.io/
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
X-Cacheable: NO:Not Cacheable
Date: Thu, 03 May 2018 16:38:44 GMT
X-Varnish: 1726013340
Age: 0
Connection: keep-alive
And with the plugin deactivated:
curl -I imwz.io
HTTP/1.1 301 Moved Permanently
Server: Apache
X-UA-Compatible: IE=edge
Expires: Thu, 03 May 2018 17:35:57 GMT
Cache-Control: max-age=3600
Location: https://imwz.io/
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
X-Cacheable: YES
Date: Thu, 03 May 2018 16:38:08 GMT
X-Varnish: 2121086199 2121086155
Age: 131
Connection: keep-alive
-
This reply was modified 6 years, 10 months ago by
Rhand.