News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPRefresh.com:
Managing Sessions and State with PHP
January 11, 2013 @ 10:25:15

In this new tutorial on the PHPRefresher.com site, Anand Godar walks you through just about all of the session functionality that comes with PHP and includes some code snippets for explanation.

Due to the fast evolution of Web programming, the stateless nature of the HTTP protocol brought many problems to certain Web applications that required maintaining their state across several HTTP requests. This demanded a rapid development of several mechanisms aimed at tackling this issue through diverse methods. Then a session management emerged as a direct response to the above mentioned problem, and currently this mechanism is being used by PHP developers worldwide, in cases where a Web application needs to keep track of its "state" during the occurrence of different HTTP requests.

The article starts off with the basics of sessions - what they are, how they're handled and created by PHP - and moves into the specific functions and their use. He talks about starting/ending sessions, their IDs, caching, module handling and working directly with the session cookie (if it exists).

0 comments voice your opinion now!
session tutorial introduction functions


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: How to Use PHP Namespaces (Parts 2 &3)

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client

Developer.com: Creating a Custom ACL in PHP

Rob Allen's Blog: Metadata from Zend_Db_Table_Abstract

SitePoint PHP Blog: Nginx, PHP5.5 and Phalcon on OpenShift


Community Events





Don't see your event here?
Let us know!


release language series testing laravel interview threedevsandamaybe api podcast refactor symfony2 community framework install code unittest introduction list developer opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework