Google News
logo
Phalcon - Interview Questions
How can we read, write and delete sessions in Phalcon?
In Phalcon, we can read, write and delete sessions by using following code:
Creating session: $this->session->set("user-name", "Ramana");

Reading or Retriving session: $this->session->get("user-name");

Deleting or Removing session: $this->session->remove("user-name");
Advertisement