I want to explain if I have another system that will use session that assigned by YII application.
This is my session config in component …
'session' => array(
'autoStart'=>true,
'cookieMode' => 'allow',
'savePath' => dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'runtime'.DIRECTORY_SEPARATOR,
'cookieParams' => array(
'path'=>'/',
'secure'=>false,
),
Of course, for the other application that don’t used YII, I’ve set the session configuration to read the same path with my YII application. It works when I check it in my localhost machine, but the problem rise when I upload into the Internet and check it, my app doesn’t work.
The problems is relay on the way that YII write into session file (currently I assume like that).
When I opened the file of session that generated by YII, in localhost it doesn’t encrypted; but when I deploy it, the content get encrypted.
Please, somebody can give me a hint or explanation to fix my problem?
- sorry for my English …