i’m using Zend_Session::start() on each request because I need to save the values between the various requests (for example user and password for re-use it in future access to db).
I would like to know if the cookie is created when i use Zend_Session::start(), and most importantly where I can see the path where is stored (both server and client).
I read that in fact the use of sessions involves the creation of a cookie but I’m not sure if the same is true with the Zend_Session seen that there is also Zend_Http_Cookie
Zend_Session extends the standard PHP session functionality, so yes starting a session sets a cookie. Where the session data is stored depends on your configuration, by default the data is stored in files, the location of which is controlled by the config value
session.save_path.You wouldn’t typically store the password in the session – once a user has been authenticated you might store just the username in the session for later access. Zend_Auth will handle all of this for you if you are using that component.
Forget about Zend_Http_Cookie, it has nothing to do with user cookies.