Jacky,

basic thing about sessions: you need session_start() at the top of every
page in which you expect to use them...check out zend.com for some
tutorials...but yes, you do need it at the top of that page...

-jack
"Jacky@lilst" wrote:
> 
> Not really, do I need to have session_start at the sender page and the
> receiver page?
> Jack
> [EMAIL PROTECTED]
> "There is nothing more rewarding than reaching the goal you set for
> yourself"
> ----- Original Message -----
> From: Wade Halsey <[EMAIL PROTECTED]>
> To: Jacky@lilst <[EMAIL PROTECTED]>
> Sent: Monday, April 02, 2001 3:48 AM
> Subject: Re: [PHP] is this syntax correct?
> 
> > do you have
> > session_start();
> >  at the top of the next page?
> >
> > ----- Original Message -----
> > From: Jacky@lilst <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, April 02, 2001 10:43 PM
> > Subject: Re: [PHP] is this syntax correct?
> >
> >
> > > I also tried this syntax:
> > > <?php
> > > global $test;
> > > $test = "foo";
> > > session_register("test");
> > > ?>
> > >
> > > and it still not work as when I go to next page, and try echo $test,
> > nothing
> > > come up.
> > > Jack
> > > [EMAIL PROTECTED]
> > > "There is nothing more rewarding than reaching the goal you set for
> > > yourself"
> > > ----- Original Message -----
> > > From: Joseph Bannon <[EMAIL PROTECTED]>
> > > To: Jacky@lilst <[EMAIL PROTECTED]>
> > > Sent: Monday, April 02, 2001 3:44 AM
> > > Subject: RE: [PHP] is this syntax correct?
> > >
> > >
> > > > > So what is the right way to do?
> > > >
> > > >
> > > > I resent my email to the list. I've done mostly DB work, so I need to
> > know
> > > > what those functions do.
> > > >
> > > > J
> > > >
> > > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to