• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic Cookie Help

#1
[eluser]Jim Higgins[/eluser]
I'm having a bit of trouble accessing a cookie using the Cookie Helper. After loading the helper of course, should this work?

$this->_state = 'Some State Name';
set_cookie('state_cookie', $this->_state);
echo 'Get cookie = ' . get_cookie('state');

The get cookie returns nothing. I'm not receiving any errors. I stripped everything down to the basics here.


Messages In This Thread
Basic Cookie Help - by El Forum - 04-01-2008, 04:29 PM
Basic Cookie Help - by El Forum - 04-01-2008, 05:56 PM
Basic Cookie Help - by El Forum - 04-01-2008, 06:16 PM
Basic Cookie Help - by El Forum - 04-02-2008, 10:00 AM
Basic Cookie Help - by El Forum - 04-02-2008, 10:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.