X-Cart Login Session
I'm currently using X-Cart and have some employees (each has an X-Cart administration account). I also develop some custom PHP webpages (not X-Cart modules) which require my employees to login before they can access those webpages. I want my employees to use their existing X-Cart accounts to login.
For example, whenever my employees access custom webpages, if they're already logged in to X-Cart, they should be fine. If not, they should be redirected to X-Cart's admin login page.
My question is: How can my PHP scripts check if users are already logged in to X-Cart? I tried to include auth.php but I got the error message "Can not initiate application! Please check configuration."
Thanks a lot!
X-Cart Gold v4.4.3