ʞɹᴉʞ ǝʌɐp
ʞɹᴉʞ ǝʌɐp

Reputation: 5650

How to share symfony2 session across subdomains

How can I share the session across subdomains symfony2? I am using Symfony version 2.0.14

I have mysite.com when user logs in to this site and move to corporate.mysite.com it should show logged in as its the same application and all the resources are shared same config files etc. just created a virtual host which points to same project folders.

A bit of googling shows this soln

framework:
    session:
        domain: .mysite.com

but this does not work for me. Can somebody guide me to the right direction?

-deepak

Upvotes: 4

Views: 4381

Answers (1)

Ankit Chauhan
Ankit Chauhan

Reputation: 404

Please check If you have a valid tld in your local environment

Upvotes: 5

Related Questions