Actually, no, Eno is right. You can't share session cookies between domains.

On Tue, May 25, 2010 at 11:54 AM, mehdi hadef <[email protected]> wrote:
> Could I share cookies and session between the two domain names with this
> method ?
>
> 2010/5/25 Tom Haskins-Vaughan <[email protected]>
>>
>> Yes, it should be fairly easy.
>>
>>  1. create one or more application for each domain name
>>
>>  2. point your domain name's to the same place
>>
>>  3. check in your index.php which domain name you have and launch the
>> appropriate application
>>
>> Tom
>>
>> On Tue, May 25, 2010 at 5:21 AM, mehdi hadef <[email protected]>
>> wrote:
>> > Hi all,
>> > I would like to know if there is an easy way using symfony to create 2
>> > website (with different domain name) that sharing the same database and
>> > session/cookie variable.
>> > Thanks
>> >
>> > --
>> > 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
>> >
>>
>> --
>> 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
>
> --
> 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
>

-- 
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