Hi, I searched an found some similar topics posted in the past but they didn't solve my problem. Here is my issue:
I created a custom PHP file:
/includes/modules/mymodule/test.php for example.
Now on the checkout page I have some JavaScript that makes an AJAX call to test.php to load some data. This works great, except that in test.php I cannot access the session object. I need to get the customer ID from the session. I also need to secure the page to ensure that anyone that accesses it is logged in.
Any ideas on how to access the session from custom PHP pages?
Thanks


Reply With Quote
