Is there a way to ensure that the user has been logged in from a custom and independent/custon php script?
Here’s the session data being passed in:
[__utmz] => 242157571.1280079143.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[modx_setup_language] => en
[ys-modx-tree-action] => s:/n_root_0/n_namespace_brothers/n_action_76
[ys-modx-resource-tree] => s:/root/web_0/web_22
[ys-modx-leftbar-state] => o:activeTab=n%3A1
[ys-modx-element-tree] => s:/root/n_type_template/n_template_element_1_0
[PHPSESSID] => btma08n15j1c1kj20vi6kkekg0
[__utma] => 242157571.1284413755.1280079143.1282627617.1282655759.20
[__utmc] => 242157571
[__utmb] => 242157571.15.10.1282655759
I’m creating a /proc folder with a custom .php file, independent of Modx but still managing site data. I do this to attempt to keep things simple. I figure I should ask -- Is there a good & advantageous way to integrate this cleanly with MODx?
Thanks