PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Dealing with XForms> <Cookies
Last updated: Fri, 01 Jun 2007

view this page in

Chapter 36. Sessions

Session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site. All information is in the Session reference section.



add a note add a note User Contributed Notes
Sessions
anton at logosfabula dot net
18-Jan-2007 11:32
karisa_jay at yahoo dot com:
sessions are client side variables which are stored onto client
is quite incorrect, better:
sessions are per-client variables which are stored onto the server; the unique relationship (session) between a webserver and any browser is ensured by a unique id stored both on the webserver system and (usually) on a special cookie available to the browser. The client stores this id only, not the variables (see Session reference section).
karisa_jay at yahoo dot com
18-Jan-2007 09:26
sessions are client side variables which are stored onto client
side on which broweser is accessing the page.
the variables are set using function $_SESSION['variablename']=variablevalue;

well known example of using session is shopping cart in which
user select the product by clicking on it.

Dealing with XForms> <Cookies
Last updated: Fri, 01 Jun 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites