Ok here is my problem.

This is my login controller:

  if($success)
            {
                 $this->Session->write('User', $someone['User']);

                  $test = $this->Session->check('User');
         $this->Session->setFlash("bs $test");

               //$this->redirect('../');
                return true;
            }


This flash  "bs 1"

Here is where I redirect
  function index() {
        $test = $this->Session->check('User');
         $this->Session->setFlash("bs $test");
}

this "bs "

So it does not keep the session when I redirect

I call this in my components
var $components = array
('Pagination','Mailer','PhpGacl','Session'); // Added

Is it maybe cause Im going down a directory? $this->redirect('../');


Im new to cakephp and would just like this simple login form to work.
I can do this in 5 minutes without capkephp.

L


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