Hello everybody,
I have the latest version of zencart installed and would like to be able to tell what user is logged in to zencart from another unrelated script in the same domain. If I log in to zen cart, then run this script, though:
It will return an empty array for $_SESSION. It has access to the cookie as I can see it if I print_r the $_REQUEST superglobal.Code:<?php session_name('zenid'); session_id($_REQUEST['zenid']); session_start(); print_r($_SESSION); die('-'); ?>
I'd appreciate any assistance you could provide.
-Ben



