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?

89 of 121 people (74%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

I'm new to sessions and cookies , where should I start?
I'm new to sessions and cookies , where should I start?

Apr 29th, 2001 18:16
Philip Olson,


--------------------------------------------------------
Definitions from Manual :
--------------------------------------------------------
Sessions : http://www.php.net/manual/ref.session.php
--------  
"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."
Cookies : http://www.php.net/manual/features.cookies.php
--------
"PHP transparently supports HTTP cookies. Cookies are a mechanism for
storing data in the remote browser and thus tracking or identifying 
return users."   
-----------------------------------------
Resources to bookmark and spend time on :
-----------------------------------------
PHP Manual
----------
- Read the Manual :
   http://www.php.net/manual/
+ Sessions
  --------
- Sessions in Manual :
   http://www.php.net/manual/ref.session.php
- Session Tutorial   :
   http://zend.com/zend/tut/session.php
- Session Examples   :
   http://www.devshed.com/Server_Side/PHP/Sessions/
- Session Management :
   http://phpbuilder.com/columns/mattias20000312.php3
- Session handling   :
   http://phpbuilder.com/columns/ying20000602.php3
+ Cookies
  --------
- Cookies in Manual  :
   http://www.php.net/manual/features.cookies.php
- setcookie()        :
   http://www.php.net/manual/en/function.setcookie.php
- Cookie Tutorial    :
   http://zend.com/zend/tut/feedback.php
- Cookie Example     :
   http://yelvington.com/howtheme.php3
Sessions and cookies are good, knowing about HTTP is related and very 
good to know too :
+ Header / HTTP
  --------
- PHP HTTP Functions :
   http://www.php.net/manual/en/ref.http.php
- header()           :
   http://www.php.net/manual/function.header.php
- HTTP Resources on w3.org
   http://www.w3.org/Protocols/
- HTTP Tutorial :
   http://www.stud.ifi.uio.no/~lmariusg/download/artikler/HTTP_tut.html
- "HTTP Made Really Easy" :
   http://www.jmarshall.com/easy/http/