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

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

delete

delete($name) /*or*/ del($name)

Clear the session data at $name. E.g.

Простой текст
  1. $this->Session->del('Person.eyeColor');

Our session data no longer has the value 'Green', or the index eyeColor set. However, Person is still in the Session. To delete the entire Person information from the session use.

Простой текст
  1. $this->Session->del('Person');