Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2008, 12:45 PM
Junior Member
 
Join Date: Feb 2008
Posts: 1
Default Cookies Usage

Hi
I need to keep a value in Cookie

referred
Zend Framework: Documentation

and Used as

$cookie = new Zend_Http_Cookie('foo', 'bar', '.example.com', time() + 7200, '/path');

echo $cookie->getName();

But i couldn't access get the $cookie object in another page..
How i can get that (already initialized) object there?

-----------------------------
i also tried the normal
setcookie()
and $_COOKIE['cookie_var']
method

but it only lives in that particular Controller

when i tried to access $_COOKIE[] from another file. it wont coming..

Please Help

Regards
Anees
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:24 PM.