Thanks - that go it. I changed this:

Configure::write('Session', array(
        'defaults' => 'database',
        'cookie' => 'myappname'
));


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 31 Aug 2012, at 09:22:38, Andras Kende <[email protected]> wrote:

> I would try change these 2:
> 
> https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L145
> 
> change `Session.cookie`
> 
> 
> and
> 
> 
> https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L254
> 
> // Prefix each application on the same server with a different string, to 
> avoid Memcache and APC conflicts.
> $prefix = 'myapp_';
> 
> 
> 
> Andras Kende
> http://www.kende.com
> 
> 
> 
> On Aug 31, 2012, at 1:12 AM, Jeremy Burns <[email protected]> wrote:
> 
>> I have two 2.2.1 Cake sites open in the same browser (doesn't matter if it's 
>> Safari or Firefox). If I log in on one, then go to the other and log in 
>> there, when I go back to the first site I find I am logged out (and vice 
>> versa). I can log into both if each is open in a different browser.
>> 
>> - Both have their own full cake directory (they are not sharing a core)
>> - Both are using database sessions (I have tried flicking one to use cake 
>> sessions, but the problem persists)
>> - Both have different Security salt and cipherSeed values
>> - Both have caching disabled
>> 
>> Where do I look for the cause?
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to