title: X-Cart Login Session
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>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 <strong>"Can not initiate application! Please check configuration."</strong></p>
  
  <p>Thanks a lot!</p>