News Feed
Sections




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

Mike Bernat's Blog:
PHP Cookies vs Sessions - The Breakdown
December 14, 2006 @ 16:58:00

In a recent post to his blog, Mike Bernat gets down to basics with one of the key pieces of functionality in PHP data persistence - cookies vs. sessions.

Knowing the basics of cookies and sessions is essential to any successful PHP programmer. It is useful to store pieces information on the users computer for later use. Things like when they last visited, language of choice, age, etc. Cookies and Sessions are the perfect solution to our needs.

He talks about both, including demonstration code to clarify some points and a chart at the end to compare their features, strengths, and weaknesses.

0 comments voice your opinion now!
session cookie breakdown strength weakness chart compare session cookie breakdown strength weakness chart compare


blog comments powered by Disqus

Similar Posts

Hyperpolyglot.org: Syntax for Common Tasks - Side-by-side (Ruby, Perl, Python & PHP)

Sebastian Bergmann's Blog: Extended Reflection API for PHP 5

BinarySludge.com: Redundant and Fault Tolerant PHP Session Storage

Davey Shafik's Blog: Mini-Review: Zend Guard vs IonCube PHP Encoder

Sebastian Bergmann's Blog: Benchmark of PHP Branches 3.0 through 5.3-CVS


Community Events





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


introduction language community laravel opinion podcast unittest composer release voicesoftheelephpant configure interview install list series conference api extension symfony version

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