Didn't use cookies in zf, but I know they are used in Zend_Http_Client, so you can check the source ;)
Regards, Saša Stamenković 2009/7/15 Sergio Rinaudo <kaiohken1...@hotmail.com> > Hi, > I would like that when the user close the browser, reopen it, and comes to > the website again, he can see this remainder, > also if he is not logged or registered. > > > S. > > > > > ------------------------------ > Date: Wed, 15 Jul 2009 16:52:22 +0200 > From: umpir...@gmail.com > To: kaiohken1...@hotmail.com > CC: fw-general@lists.zend.com > Subject: Re: [fw-general] Cookie Usage > > Why not use session instead? > > Regards, > Saša Stamenković > > > On Wed, Jul 15, 2009 at 12:36 PM, Sergio Rinaudo <kaiohken1...@hotmail.com > > wrote: > > Hi, > on my project I want to save all the location where the user was ( maybe > last 5 locations ) and show to him as a reminder. > > Then I thought to use the zend_cookie object to store all the visited page > ids ( or urls ), my problem is that, after I read the documentation here: > > http://framework.zend.com/manual/en/zend.http.cookies.html > > I am a little confused on how to use it. > > What I want is to save an array in the cookie object, add to it a page_id ( > or url ) every time a page is requested, > and then retrieve it anywhere I want to use it in my application. > > Some advices about the code to use? > > Thanks > > S. > > > ------------------------------ > Preparati alla sfida all'ultima combinazione, gioca con > Crosswire!<http://livesearch.games.msn.com/crosswire/default_it/> > > > > ------------------------------ > Preparati alla sfida all'ultima combinazione, gioca con > Crosswire!<http://livesearch.games.msn.com/crosswire/default_it/> > ------------------------------ > Vesti Messenger come piu ti piace. Scarica la nuova Raccolta > scene!<http://messenger.it/raccoltaScene.aspx> >