faqts : Computers : Programming : Languages : PHP : Common Problems : Sessions and State

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes

Entry

How can I make, that a $var can get read after several pages too?Enter name->page->write Name

Feb 28th, 2002 11:48
Narendra Jain, David Valentine, http://www.php.net/manual/en/ref.session.php


The best way to 'carry on' a variable over many pages is to use the
session management. The overview of this is available if you click the
link below:
http://www.php.net/manual/en/ref.session.php
You can look at some of the tutorials on the FAQTS web site as well,
like: 
www.webmonkey.com
www.zend.com
www.devshed.com
www.melonfire.com
etc...
Hope that helps...
Narendra Jain