I’m not sure how possible this is, but I have created a module for the Manager that simply redirects to a page outside the manager like so:
header("Location:
http://mydomain.com/pages/index.php");
The page is on the same domain MODx is installed on.
I want to somehow tap into the MODx authentication so that if a user isn’t accessing this page from within the Manager (and thus isn’t logged in), it cannot be browsed to directly.
Is that possible? Can someone point me to a reference to tap into the MODx session or something?
Thanks!