Re: is this syntax correct?

From: Date: Mon, 02 Apr 2001 12:52:10 +0000
Subject: Re: is this syntax correct?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-46608@lists.php.net to get a copy of this message
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 > jacky@activelifestyle.com > "There is nothing more rewarding than reaching the goal you set for > yourself" > ----- Original Message ----- > From: Wade Halsey <whalsey@btech.co.za> > To: Jacky@lilst <jacky@activelifestyle.com> > 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 <jacky@activelifestyle.com> > > To: <php-general@lists.php.net> > > 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 > > > jacky@activelifestyle.com > > > "There is nothing more rewarding than reaching the goal you set for > > > yourself" > > > ----- Original Message ----- > > > From: Joseph Bannon <joseph@iwebsitesoftware.com> > > > To: Jacky@lilst <jacky@activelifestyle.com> > > > 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: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#46608) next »