1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Basic PHP Sessions

Tuesday June 27, 2006
A session is a way of storing variables for a user that can be used over many pages. Variable data is stored in an array, and each page can add or retrieve variables from the session array, as long as the session is opened at the beginning of the page.
Comments
September 9, 2008 at 4:23 am
(1) starboard says:

Thank for the article :D

September 12, 2008 at 1:32 pm
(2) Sergio Avila says:

We have 5 apache servers serving content from NFS server… we use to write cache to this NFS, then we discovered memcached… we still write sessions to the same NFS, Is there a way to store sessions in RAM? so the 5 servers can access the same session info?

Thanks!

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.