Forums / General / keeping the SESSION ?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

keeping the SESSION ?

Author Message

François Xavier Lacroix

Tuesday 18 October 2005 5:47:41 am

Hello,

Once in my Exponential site, i make a link in another php page that is not related to Exponential.
However, i would like to get the information about the Exponential 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.