How can I write a cookie for user_name and password and read it back if the cookie is already there in zend framework.I read the manual but not getting it. I’m really stuck, plz help.
Thanks
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.
Zend_Http_Cookie is not a good thing for setting/getting normal cookies. Read about it here php setcookie vs Zend_Http_Cookie and Zend Framework cookie management. There is nothing wrong with using native PHP
setcookie()for setting and using the superglobal array$_COOKIEfor getting cookies.