| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-Cart Login Session | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: X-Cart Login Session
Hi!
Could you please let us know what X-Cart version you are using? You should update your forum account's signature and put your X-Cart version there. It will help you get faster responses in the future.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: X-Cart Login Session
Quote:
Thanks for replying me. I'm using v4.4.3.
__________________
X-Cart Gold v4.4.3 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: X-Cart Login Session
This error means that auth.php was included incorrectly.
You should try to include it in the script inside X-Cart's root folder. Otherwise, it will not work properly.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|