Are you starting the session first? <? session_start(); session_register('variable'); ?>
Jim Lucas ----- Original Message ----- From: "Pushkar Pradhan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 10:19 AM Subject: [PHP] unable to register session variables > I am following example 4 on http://www.php.net/manual/en/ref.session.php > code: > if(!session_is_registered("layer") ) { > session_register("layer"); > } > I tried both "" and ''s. > Doing a phpinfo() on the pg. doesn't show any $HTTP_SESSION_VARS > > I've both track_vars and register_globals enabled in my php.ini > Any idea what's wrong? Thanks, > > -Pushkar S. Pradhan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php