I'm developing a custom page for a client that's going to be using AJAX to call a PHP script. I'm having no luck so far in figuring out how to securely access session variables and to add new ones in the custom PHP script. Using session_start() doesn't start the existing Zen Cart session, and although I tried passing the existing session_id to the script, that's not secure and wasn't working either.
I've seen a few posts that used some fairly complex workarounds that I prefer not to use. is there a straightforward way of getting session variables and setting new ones in a custom PHP script called via an AJAX post or get with Zen Cart that someone has had success with and is secure?
I'm using Zen Cart 1.3.8a and JQuery's AJAX classes.
TIA
Bookmarks