not that I am aware of.

Jim Lucas
----- Original Message -----
From: "Pushkar Pradhan" <[EMAIL PROTECTED]>
To: "Jim lucas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 10:43 AM
Subject: Re: [PHP] unable to register session variables


> Aren't there two method to register variables:
> 1. session_start() as you suggested with track_vars enabled
> 2. !session_is_registered() with register_globals enabled
>
> I tried session_start also but didn't work, phpinfo() doesn't show any
> $HTTP_SESSION_VARS
> > 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
> >
>
> -Pushkar S. Pradhan
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to