Awesome, should add that to the cakephp books
On Oct 28, 1:34 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> i figured it out.
>
> it works if put the following lines in beforeFilter() of the
> controller (don't put it in app_controller.php)
>
> $this->Cookie->name = 'location';
> $this->
i figured it out.
it works if put the following lines in beforeFilter() of the
controller (don't put it in app_controller.php)
$this->Cookie->name = 'location';
$this->Cookie->time = 3600; // or '1 hour'
$this->Cookie->path = '/';
$this->Cookie->domain = 'localhost';
$this->Cookie->sec
I have the same issue, even removing the domain settings.
When I restart IE, it looks like the cookie is gone. $this-
>Cookie.read($key) return null. Not sure why this happened.
On Oct 23, 11:44 pm, . <[EMAIL PROTECTED]> wrote:
> Is there a cake ticket for this? Or a possible fix?
>
>
>
> On Thu
Is there a cake ticket for this? Or a possible fix?
On Thu, Oct 23, 2008 at 2:47 AM, jamescowhen <[EMAIL PROTECTED]> wrote:
>
> I have the same issue, removing the domain seem to fix it, but that
> doesn't get at the root of the problem
>
> On Oct 21, 11:31 pm, . <[EMAIL PROTECTED]> wrote:
> > sa
I have the same issue, removing the domain seem to fix it, but that
doesn't get at the root of the problem
On Oct 21, 11:31 pm, . <[EMAIL PROTECTED]> wrote:
> same here.. so you still are leaving out the domain variable?
>
> On Tue, Oct 21, 2008 at 11:13 AM, Stinkbug <[EMAIL PROTECTED]> wrote:
>
same here.. so you still are leaving out the domain variable?
On Tue, Oct 21, 2008 at 11:13 AM, Stinkbug <[EMAIL PROTECTED]> wrote:
>
> I had a problem with cookies a while back. Couldn't seem to reference
> them after I saved them. I know the docs say the domain variable is
> required, but as so
I had a problem with cookies a while back. Couldn't seem to reference
them after I saved them. I know the docs say the domain variable is
required, but as soon as removed it, everything started working as
expected.
On Oct 20, 1:27 am, . <[EMAIL PROTECTED]> wrote:
> I don't think it is saving the
I don't think it is saving the cookie, because if i go to another page,
doing $this->Cookie->read('name') returns null... how do i persist the
cookie?
On Sun, Oct 19, 2008 at 11:25 PM, . <[EMAIL PROTECTED]> wrote:
> $this->Cookie->name = 'location';
> $this->Cookie->time = 3600; // or '1 hou
$this->Cookie->name = 'location';
$this->Cookie->time = 3600; // or '1 hour'
$this->Cookie->path = '/';
$this->Cookie->domain = 'localhost';
$this->Cookie->secure = true; //i.e. only sent if using secure HTTPS
$this->Cookie->key = 'qSI232qs*&sXOw!';
$this->Cookie->write('name','Larry
Hi,
> is there any tutorial about cookie component for cakephp? i am having
> trouble using it.
http://book.cakephp.org/view/177/Cookies
Hope that helps!
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you a
is there any tutorial about cookie component for cakephp? i am having
trouble using it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
T
11 matches
Mail list logo