[symfony-users] creating 2 websites (different domain name) sharing the samedatabse

2010-05-25 Thread mehdi hadef
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

Re: [symfony-users] creating 2 websites (different domain name) sharing the samedatabse

2010-05-25 Thread Tom Haskins-Vaughan
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

Re: [symfony-users] creating 2 websites (different domain name) sharing the samedatabse

2010-05-25 Thread Eno
On Tue, 25 May 2010, mehdi hadef wrote: 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. I dont think you czn share cookies if they have different domain names. -- --

Re: [symfony-users] creating 2 websites (different domain name) sharing the samedatabse

2010-05-25 Thread mehdi hadef
Could I share cookies and session between the two domain names with this method ? 2010/5/25 Tom Haskins-Vaughan t...@templestreetmedia.com 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

Re: [symfony-users] creating 2 websites (different domain name) sharing the samedatabse

2010-05-25 Thread Tom Haskins-Vaughan
Actually, no, Eno is right. You can't share session cookies between domains. On Tue, May 25, 2010 at 11:54 AM, mehdi hadef mehdi.ha...@gmail.com wrote: Could I share cookies and session between the two domain names with this method ? 2010/5/25 Tom Haskins-Vaughan t...@templestreetmedia.com

Re: [symfony-users] creating 2 websites (different domain name) sharing the samedatabse

2010-05-25 Thread mehdi hadef
OK. Thanks to Eno and you 2010/5/25 Tom Haskins-Vaughan t...@templestreetmedia.com Actually, no, Eno is right. You can't share session cookies between domains. On Tue, May 25, 2010 at 11:54 AM, mehdi hadef mehdi.ha...@gmail.com wrote: Could I share cookies and session between the two