Cache cleared, sessions flushed (and session table truncated) but still no joy
Interestingly, after flushing the sessions I tried to access my test page and then did a single page refresh on both my default (web context) site and my other (domain2 context) site again with the same result ie. the pagelist session value incremented successfully on the web context but kept getting reset on the domain2 context. When I looked at the contents of the session table afterwards, there was just one entry for the web context (as you’d expect):
[tt]modx.user..attributes|a:1:{s:3:"web";a:3:{s:16:"modAccessContext";a:1:{s:3:"web";a:1:{i:0;a:3:{s:9:"principal";i:0;s:9:"authority";s:1:"0";s:6:"policy";a:1:{s:4:"load";b:1;}}}}s:22:"modAccessResourceGroup";a:0:{}s:17:"modAccessCategory";a:0:{}}}webDocgroups|a:0:{}pageid|i:1;pagelist|a:2:{i:0;i:1;i:1;i:1;}[/tt]
But there were 4 session records for the domain2 context, 2 records generated for each page access, the second of which has an empty data field with the same access time as the first? The first record for each access was like this for both:
[tt]modx.user.contextTokens|a:0:{}
pageid|i:140;pagelist|a:1:{i:0;i:140;}modx.user.contextTokens|a:0:{} [/tt]
I’m thinking maybe I should hang on for version 2.1 and then try a fresh installation?