Zen Cart Logo
Forums / General Questions / $_SESSION['zenid'] is empty

$_SESSION['zenid'] is empty

Locked

Views: 993

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Feb 2009, 6:50 PM
#1
krex avatar

krex

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

$_SESSION['zenid'] is empty

How do I test to see if the user has authenticated, from outside Zen Cart?

A simple php test page to show the session shows it is empty:

session_start();

echo '<pre> Session ';
print_r($_SESSION);
echo '</pre>';

Zen Cart v1.3.8a/v1.3.8
PHP Version 4.4.9

8 Feb 2009, 7:02 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: $_SESSION['zenid'] is empty

You need to include application_top.php to be able to get the session.