I still have not succeded in this... The strange thing is that im
using the Auth component, and im pretty sure It uses sessions. What I
dont know if it uses them with $_SESSION or with the session
component, but I would bet for the second.

Quite strange.. I'll try in other cake instalations around and see.

On Apr 15, 10:38 am, Ramiro Araujo <[EMAIL PROTECTED]> wrote:
> Hi, thanks! here it is:
>
> Configure::write('Session.save', 'php'); //also tried with 'cake'
> Configure::write('Session.cookie', 'CAKEPHP');
> Configure::write('Session.timeout', '120');
> Configure::write('Session.start', true);
> Configure::write('Session.checkAgent', true); //also tried with false
> Configure::write('Security.level', 'low');
>
> Right now im asigning with $_SESSION and reading with Session
> Component :D hahahah
>
> Thanks for the help!
>
> On Apr 14, 3:58 pm, "b logica" <[EMAIL PROTECTED]> wrote:
>
> > How is your core.php configured? Post what you have for all
> > Configure::write('Session.*', '...') and whether they are uncommented
> > or not.
>
> > On Mon, Apr 14, 2008 at 1:35 PM,RamiroAraujo <[EMAIL PROTECTED]> wrote:
>
> > >  Hi. Im having a strange problem, and couldn't find any solution or
> > >  anyone with a similar problem... Its quite simple:
>
> > >  same controller, 2 methods:
>
> > >  function sessionWriteTest ($key, $value) {
> > >         $this->Session->write($key, $value);
> > >  }
> > >  function sessionReadTest ($key) {
> > >         debug($this->Session->read($key));
> > >  }
>
> > >  doesnt work...
>
> > >  modifying the method sessionWriteTest like this, works:
> > >  function sessionWriteTest ($key, $value) {
> > >         $_SESSION[$key] = $value;
> > >  }
>
> > >  Am I missing something really simple? My config is set quite default,
> > >  temp directories are chmod 777, and normal session handling works!
>
> > >  Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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