I wish I could come up with why that would happen and save you the trouble. Good luck.
Here's some simple code you could put in a test snippet that just checks the users status with no chunks involved. It also reports the current context. If it gives you the right answer, you should be able to replace it with the Personalize snippet tag:
<?php
/* LoginCheck snippet */
$ctx = $modx->context->get('key');
$loggedIn = $modx->user->hasSessionContext($ctx);
if ($loggedIn) {
return 'User is logged in to the ' . $ctx . ' context' ;
} else {
return 'User is NOT logged in to the ' . $ctx . ' context';
}
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
[ed. note: BobRay last edited this post 11 years, 11 months ago.]