Hi
I have installed memcache on my system.
I have setted CakePHP to use memcache.
I have setted the Configure::write('Security.level', 'medium');
All seems to work but sometimes I lost the session. In particular I
note this when I do a sequence of ajax call.
A simple example to show this error is:
/*My Controller*/
......
function test($show=0){
if ($show==1){
$this->layout='ajax';
echo "<pre>";
print_r($this->Session->read($this->Auth->sessionKey));
echo "</pre>";
die();
}
}
.......
/*My Test View*/
<?
echo $ajax->link(
'test',
array( 'controller' => 'my_controller', 'action' => 'test','1'),
array(
'update' => 'test_1',
'after' => $ajax->remoteFunction(
array(
'url' => array(
'controller' => 'my_controller', 'action' =>
'test','1'),
'update' => 'test_2',
)
),
),
null,false
);
?>
<div id="test_1" ></div>
<div id="test_2" ></div>
I hope someone can help me about this.
Many Thanks
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---