News Feed
Sections




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

DeveloperTutorials.com:
Developing State-enabled Applications With PHP
April 13, 2007 @ 08:55:00

The Developer Tutorial website has a new article posted today about the creation of "state-enabled applications" with PHP. Basically, a chunk of functionality to keep user data persistent throughout the whole time they're on the site.

A major drawback is that while browsing from one page to another, the website does not remember the State of the browsing session. This make interactivity almost impossible. In order to increase interactivity, the developer can use the session handling features of PHP to augment the features of HTTP in order to remember the State of the browsing session.

They look at two solutions - using cookies and using sessions. Cookies are simple enough, but when it comes to sessions, there's actually two different roads to follow: with cookies enabled and without. They have to be handled slightly differently, but both essentially work the same way.

0 comments voice your opinion now!
tutorial stateenabled persistent session cookie tutorial stateenabled persistent session cookie


blog comments powered by Disqus

Similar Posts

Hasin Hayder's Blog: Getting started with orchid framework

DevShed: Using Inheritance, Polymorphism and Serialization with PHP Classes

PHPFreaks.com: Sessions and cookies: Adding state to a stateless protocol

Stefan Mischook's Blog: PHP Sessions Video Tutorials - Part 3

DevShed: Defining a Custom Function for File Uploaders with PHP 5


Community Events

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


series security language introduction release community framework api laravel podcast voicesoftheelephpant symfony extension version library unittest laravel5 threedevsandamaybe interview opinion

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