Re: sessions with frames

From: Date: Thu, 01 Feb 2001 20:30:38 +0000
Subject: Re: sessions with frames
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37714@lists.php.net to get a copy of this message
When you define the index.php and load the frames go ahead and start the session and then pass the variables to the frame like this: <frameset> <frame src="main.php?var1=test&var2=test" ...> <frameset> and then on main.php if you echo $var1 it will it will print "test" Good Luck! .:: Nathan Cook [ ncook@pcsedu.com ] ::. Systems & Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] ----- Original Message ----- From: "Chris Hayes" <chayes@antenna.nl> To: <php-general@lists.php.net> Sent: Thursday, February 01, 2001 1:22 PM Subject: [PHP] sessions with frames > hi! > i would like to read in a txt file in the frame index page and use it > through a session in pages. > > It does not work if index.php starts the session and succesfully registers a > var, because a php page in a frame does not recognize the var. > > Chris > > > -------------------------------------------------------------------- > -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- > -------------------------------------------------------------------- > > > > -- > 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 (#37714) next »