Monday, March 17, 2014

ZF2 about Session & Serialize



Key concept of the Exam is Session:


Session


support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site.

A visitor accessing your web site is assigned a unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL.




ZF2 & Sessions



Another concept what we should know is

Serialize

Generates a storable representation of a value.
This is useful for storing or passing PHP values around without losing their type and structure.
To make the serialized string into a PHP value again, use unserialize().

 

No comments:

Post a Comment