may I know how to create a session-based table using Zend Framework? It is because I am required to develop a shopping cart for my project in college.
Can anyone help me to solve this problem? Thanks a lot.
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.
There is a component in ZF for storing sessions in the database, see: http://framework.zend.com/manual/en/zend.session.savehandler.dbtable.html
once you have that setup you just store your shopping cart data in the session using
Zend_Session_Namespaceas normal.