News Feed
Sections




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

PHPFreaks.com:
Sessions and cookies Adding state to a stateless protocol
June 05, 2008 @ 12:05:11

On the PHPFreaks website, there's a new tutorial talking about sessions and cookies in PHP:

HTTP is a stateless protocol. This means that each request is handled independently of all the other requests and it means that a server or a script cannot remember if a user has been there before. However, knowing if a user has been there before is often required and therefore something known as cookies and sessions have been implemented in order to cope with that problem.

The tutorial is pretty introductory, so if you're not new to the PHP world, you won't learn much. New developers, though, will learn how to set cookies, use sessions and learn a bit about the security of both.

0 comments voice your opinion now!
session tutorial introduction cookie state stateless protocol http


blog comments powered by Disqus

Similar Posts

Ibuildings techPortal: Transforming XML with PHP and XSL

Stefan Mischook's Blog: Object Oriented PHP Videos are now out!

DeveloperDrive.com: What Web Developers Need to Know About Cross-Site Scripting

Erika Heidi: A beginners guide to Vagrant and Puppet, part 3 - facts, conditionals and modules

Stoyan Stefanov: Server-side React with PHP part 2


Community Events





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


library framework laravel composer security interview language voicesoftheelephpant opinion podcast update package tool introduction install community release symfony series version

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