[symfony-users] Re: Same session for All subdomains

2007-10-04 Thread Haris Zukanovic'
Update! Session name was problematic with non-alphanumeric characters. So here is an update class dotTVSessionStorage extends sfSessionStorage { /** * This override sets the exact (sub)domain for session cookie and then initializes this Storage instance. * * @param sfContext A sfContext

[symfony-users] Re: Same session for All subdomains

2007-10-03 Thread Haris Zukanovic'
Nope! I had to inherit from sfSessionStorage to make it work.. Also, I just couldn't get it to work with domain limitations in that Explorer seems to send the cookies of the main domain to all subdomains. So I had to use a subdomain-based session name Here is the code bit, at the end it came out pr

[symfony-users] Re: Same session for All subdomains

2007-10-02 Thread Ian P. Christian
Haris Zukanovic' wrote: > > I know, but I want to have different sessions for each subdomain! > I have more subdomains poining at the same application. > I imagine you can probably change this on a per domain basis using a Filter. --~--~-~--~~~---~--~~ You rece

[symfony-users] Re: Same session for All subdomains

2007-10-02 Thread Haris Zukanovic'
Comments bellow .. Eno wrote: > On Oct 2, 6:20 am, Haris Zukanovic' <[EMAIL PROTECTED]> wrote: > > >> I have not setup any params for sfSessionStorage in factories.yml and >> when using >> >> Internet Explorer 6 is using the same session for following domains >> test.website.com >> nr1.test.we

[symfony-users] Re: Same session for All subdomains

2007-10-02 Thread Eno
On Oct 2, 6:20 am, Haris Zukanovic' <[EMAIL PROTECTED]> wrote: > I have not setup any params for sfSessionStorage in factories.yml and > when using > > Internet Explorer 6 is using the same session for following domains > test.website.com > nr1.test.website.com > nr2.test.website.com > > In firef

[symfony-users] Re: Same session for All subdomains

2007-10-02 Thread Haris Zukanovic'
Hi, I have not setup any params for sfSessionStorage in factories.yml and when using Internet Explorer 6 is using the same session for following domains test.website.com nr1.test.website.com nr2.test.website.com In firefox, the sessions are different for each of the domains? Why is this? I need

[symfony-users] Re: Same session for All subdomains

2007-05-04 Thread Mohammad Asif Ali
Thank All its working now On May 4, 3:38 am, "Francois Zaninotto" <[EMAIL PROTECTED] project.com> wrote: > Muhammad, > > Take a look at this post: > > http://groups.google.com/group/symfony-users/msg/e8b39c394458acb7 > > Francois > > _ > > De : symfony-users@googlegroups.com [mailto:[E

[symfony-users] Re: Same session for All subdomains

2007-05-03 Thread Francois Zaninotto
Muhammad, Take a look at this post: http://groups.google.com/group/symfony-users/msg/e8b39c394458acb7 Francois _ De : symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] De la part de Muhammad Asif Ali Envoyé : jeudi 3 mai 2007 10:27 À : symfony-users Objet : [symfony-users] Sa

[symfony-users] Re: Same session for All subdomains

2007-05-03 Thread Michael Nolan
Try in your factories.yml: all: storage: class: sfSessionStorage param: session_cookie_domain: example.com Mike On May 3, 9:26 am, "Muhammad Asif Ali" <[EMAIL PROTECTED]> wrote: > Hi All, > I am using wild card DNS. every register user will > get his o