Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to read, write and delete session in cakephp?



How to read, write and delete session in cakephp?..

Answer / Abhiraj Singh Thakur

To read a session in CakePHP, you can use `$this->Session->read('session_key')`. To write data to a session, use `$this->Session->write('session_key', 'value')`. To destroy or delete a session, use `$this->Session->delete('session_key')`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CakePHP Interview Questions

What is the default extension of view files in cakephp?can we change it?if yes then how?

1 Answers  


why cakephp have two vendor folder?

1 Answers  


Is cakephp a mvc?

1 Answers  


What do you mean by component in cakephp?

1 Answers  


How to get current url in cakephp?

1 Answers  


Name some commonly used components in cakaphp?

1 Answers  


What is recursive in cakephp?

1 Answers  


How cakephp url looks in address bar

1 Answers  


What are commonly used helpers of cakephp?

1 Answers  


Which methods are used to create and destroy model associations on the fly?

1 Answers  


Can you list some database related functions in cakephp?

1 Answers  


What is wrong with the below validation rule?

1 Answers  


Categories