Chris Hartjes wrote:
> You might have to change some stuff in your config/core.php file.
>
> Look for Session.checkAgent
>
> Often you have do
>
> Configure::write('Session.checkAgent', false);
>
> to preserve sessions when using Ajax

Session.checkAgent is not defined in my core.php. I tried defining it

define("Session.checkAgent",false);

and call the Configure::write

  function webAlias(){
      if(isset($this->data["Project"]["name"])){
         Configure::write('Session.checkAgent', false);
         $this->layout = "ajax";
         $this->autoRender = false;
         echo $this->_webAlias($this->data["Project"]["name"]);
      }
   }

But none of them worked.

Some other ideas? Cake version 1.1.18.

-- 
Live life like you're gonna die. Because you're gonna.
                                            William Shatner


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to