I have created a plugin in that i included one component.. So in that plugin component i have to include session component to call their methods write and read.. How to call those methods?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Plugins still use the underlying Cake core, so in your plugin’s AppController() you should be able to load the
SessionComponentin the$componentsvaraible. Here is an example$componentssetup:Have you tried this?