using eZSession outside of eZPublish

Author Message

Rib Rdb

Wednesday 11 June 2003 5:50:29 pm

I'm trying to integrate ez's login and registration with a forum script. The problem is that when I call removeSessionVariable (possibly setSessionVariable too), the script just stops, and my apache error log says "[notice] child pid ### exit signal Illegal instruction (4)". Here's an example of the code I'm using:
include_once( "lib/ezutils/classes/ezhttptool.php" );
$http =& eZHTTPTool::instance();
$http->removeSessionVariable( "eZUserLoggedInID" );

I've included ezsession.php already. Do I need to include something else too, or is there something else I need to do to get this working?

Rib Rdb

Wednesday 11 June 2003 5:52:11 pm

It seems that the call to eZSessionStart stops the script execution. I can't figure out what else is going on. Is there some way I can use ezdebug in the other script to see if the session is giving some sort of error?

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