1

I am using CakePHP framework. And below is my problem. www.mysite.com is the main site and I've created 5-6 different demos of my original site with different colors and fonts.

So, if I am login in www.mysite.com/demo1 and then I open another demo www.mysite.com/demo2, it shows I'm logged in already.

Is there any way to set session folder wise?

Anto S
  • 2,448
  • 6
  • 32
  • 50
hrs
  • 111
  • 4

1 Answers1

1

In core.php, few lines before EOF, says:

//Prefix each application on the same server with a different string, to avoid Memcache and APC conflicts.
$prefix = 'myapp_';

Have you tried different prefix for each site?

Greg Kelesidis
  • 1,069
  • 14
  • 20