Свежайшие Пирожки от CakePHP по-русски

Полнейшее руководство CakePHP 1.2 на русском языке, горячие новости и полезные статьи

Methods

The Session component is used to interact with session information. It includes basic CRUD functions as well as features for creating feedback messages to users.

It should be noted that Array structures can be created in the Session by using dot notation. So User.username would reference the following:

Простой текст
  1. array('User' =>
  2. array('username' => 'clarkKent@dailyplanet.com')
  3. );

Dots are used to indicate nested arrays. This notation is used for all Session component methods wherever a $name is used.