http://blog.jetienne.com/2009/05/symfony-sfguard-and-sfremember.html

On Thu, Aug 26, 2010 at 3:53 AM, Mariano Sola <[email protected]>wrote:

> Hi all, how is it going?
>
> I'd like to ask you how can I set a domain that is not the same the
> setCookie method is invoked in order to be read from other domain.
>
> Currently I'm doing the following but the cookie is not created:
>
> $response = sfContext::getInstance()->getResponse();
> $response->setCookie("TestCookie", "valorCookie", null, "/", "
> www.example.com", 0, 0);
>
> The weird thing here is that if I replace "www.example.com" with "" the
> cookie is being created correctly using as domain "localhost" which is my
> Dev environment domain.
>
> Somebody faced with this issue? Is there some piece of the configuration I
> missed?
>
> Thanks in advance!
> *mariano ::*
>
>  --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to