keeping the SESSION ?

Author Message

François Xavier Lacroix

Tuesday 18 October 2005 5:47:41 am

Hello,

Once in my Ezpublish site, i make a link in another php page that is not related to ezpublish.
However, i would like to get the information about the Ezpublish user that was logged.

So i went to index.php to see how i could activate the session manually.

include_once( "lib/ezutils/classes/ezsession.php" );
EZsessionstart();
include_once( "kernel/classes/datatypes/ezuser/ezuser.php" ) ;
$currentUser =& eZUser::currentUser();

But i still get nothing in the session... I m looking for it, but if someone can help, thx in advance.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.