How can I write a cookie for user_name and pas开发者_开发问答sword 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
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 $_COOKIE
for getting cookies.
精彩评论