Re: Auth login redirect unreliable?

2008-09-09 Thread Tony Thomas

Plus, the problem I ran into with this solution is that the logout
function goes into an infinite loop.

I will note that I didn't have problems with redirect until I started
using database sessions & stopped using mod_rewrite because of
restrictions on the shared server I'm using.

On Jul 15, 8:50 am, jhicks <[EMAIL PROTECTED]> wrote:
> That will only work as long as the browser supports HTTP_REFERER.
>
> On Jul 6, 2:52 pm, Chez17 <[EMAIL PROTECTED]> wrote:
>
> > Using Eric's post, I created a very simple way to get the Auth
> > component toredirectto the referring page no matter what. I think
> > its userful:
>
> >  > class UsersController extends AppController
> > {
> >     var $name = "Users";
>
> >     var $components = array("Auth");
>
> >     function beforeFilter()
> >     {
> >         $this->Auth->autoRedirect = false;
> >     }
>
> >     function login()
> >     {
> >         $this->redirect($_SERVER['HTTP_REFERER']);
> >     }
>
> > }
>
> > On Jul 2, 1:56 pm, Rich <[EMAIL PROTECTED]> wrote:
>
> > > that worked perfectly for me. thanks Eric!
>
> > > On Jul 2, 12:32 pm, Eric <[EMAIL PROTECTED]> wrote:
>
> > > > I had a similar problem and here is what I did.
>
> > > > 1. Change your setupAuth function like this
> > > > function setupAuth(  )
> > > > {
> > > > ...
> > > > $this->Auth->loginRedirect = '/users/loginRedirect';
> > > > $this->Auth->autoRedirect = false; // <-- handle redirecting yourself
>
> > > > }
>
> > > > 2. create a loginRedirect action which determines where to go after a
> > > > login has succeeded
>
> > > > function loginRedirect()
> > > > {
> > > >  $this->log('users/LoginRedirect()', LOG_DEBUG);
> > > >  if (parent::getAuthGroup() ===  "ADMIN")
> > > >  {
> > > >   $this->log('--redirecting to admin', LOG_DEBUG);
> > > >   $this->redirect('/admin/myCtrl/index');
> > > >  }
> > > >  else
> > > >  {
> > > >   $this->log('--redirecting to normal', LOG_DEBUG);
> > > >   $this->redirect('/myCtrl/index');
>
> > > > }
>
> > > > 3. Your login action is pretty simple then
>
> > > > function login()
> > > > {
> > > >  if ($this->Auth->login())
> > > >  {
> > > >    $this->loginRedirect();
> > > >  }
> > > >  else
> > > >  {
> > > >   if (!empty($this->data))
> > > >     $this->Session->setFlash($this->Auth->loginError);
> > > >  }
>
> > > > }
>
> > > > I think you can get the page that the user was trying to access via
> > > > the session, andredirectthere, but taking them to the front page
> > > > works for me
> > > > .
> > > > Hopefully this helps.
>
> > > > -Eric
>
> > > > On Jul 2, 10:44 am, leo <[EMAIL PROTECTED]> wrote:
>
> > > > > On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > > > > > I see what you mean, but I'm not sure that you can put 'action' => 
> > > > > > '/'
> > > > > > or 'controller' => '/'.
>
> > > > > Sorry, I missed that. Nope, I wouldn't want to be doing that even if
> > > > > it was valid.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-20 Thread Marco.z

I'm sorry, but I can't understand why it should works.. It seems to me
that in that way the login page will redirect you to the page you come
from, without execute any login procedure... Perhaps I'm wrong..

On 6 Lug, 22:52, Chez17 <[EMAIL PROTECTED]> wrote:
> Using Eric's post, I created a very simple way to get theAuth
> component toredirectto the referring page no matter what. I think
> its userful:
>
>  class UsersController extends AppController
> {
>     var $name = "Users";
>
>     var $components = array("Auth");
>
>     function beforeFilter()
>     {
>         $this->Auth->autoRedirect = false;
>     }
>
>     functionlogin()
>     {
>         $this->redirect($_SERVER['HTTP_REFERER']);
>     }
>
> }
>
> On Jul 2, 1:56 pm, Rich <[EMAIL PROTECTED]> wrote:
>
> > that worked perfectly for me. thanks Eric!
>
> > On Jul 2, 12:32 pm, Eric <[EMAIL PROTECTED]> wrote:
>
> > > I had a similar problem and here is what I did.
>
> > > 1. Change your setupAuth function like this
> > > function setupAuth(  )
> > > {
> > > ...
> > > $this->Auth->loginRedirect = '/users/loginRedirect';
> > > $this->Auth->autoRedirect = false; // <-- handle redirecting yourself
>
> > > }
>
> > > 2. create a loginRedirect action which determines where to goaftera
> > >loginhas succeeded
>
> > > function loginRedirect()
> > > {
> > >  $this->log('users/LoginRedirect()', LOG_DEBUG);
> > >  if (parent::getAuthGroup() ===  "ADMIN")
> > >  {
> > >   $this->log('--redirecting to admin', LOG_DEBUG);
> > >   $this->redirect('/admin/myCtrl/index');
> > >  }
> > >  else
> > >  {
> > >   $this->log('--redirecting to normal', LOG_DEBUG);
> > >   $this->redirect('/myCtrl/index');
>
> > > }
>
> > > 3. Yourloginaction is pretty simple then
>
> > > functionlogin()
> > > {
> > >  if ($this->Auth->login())
> > >  {
> > >    $this->loginRedirect();
> > >  }
> > >  else
> > >  {
> > >   if (!empty($this->data))
> > >     $this->Session->setFlash($this->Auth->loginError);
> > >  }
>
> > > }
>
> > > I think you can get the page that the user was trying to access via
> > > the session, andredirectthere, but taking them to the front page
> > > works for me
> > > .
> > > Hopefully this helps.
>
> > > -Eric
>
> > > On Jul 2, 10:44 am, leo <[EMAIL PROTECTED]> wrote:
>
> > > > On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > > > > I see what you mean, but I'm not sure that you can put 'action' => '/'
> > > > > or 'controller' => '/'.
>
> > > > Sorry, I missed that. Nope, I wouldn't want to be doing that even if
> > > > it was valid.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-15 Thread jhicks

That will only work as long as the browser supports HTTP_REFERER.

On Jul 6, 2:52 pm, Chez17 <[EMAIL PROTECTED]> wrote:
> Using Eric's post, I created a very simple way to get the Auth
> component to redirect to the referring page no matter what. I think
> its userful:
>
>  class UsersController extends AppController
> {
>     var $name = "Users";
>
>     var $components = array("Auth");
>
>     function beforeFilter()
>     {
>         $this->Auth->autoRedirect = false;
>     }
>
>     function login()
>     {
>         $this->redirect($_SERVER['HTTP_REFERER']);
>     }
>
> }
>
> On Jul 2, 1:56 pm, Rich <[EMAIL PROTECTED]> wrote:
>
> > that worked perfectly for me. thanks Eric!
>
> > On Jul 2, 12:32 pm, Eric <[EMAIL PROTECTED]> wrote:
>
> > > I had a similar problem and here is what I did.
>
> > > 1. Change your setupAuth function like this
> > > function setupAuth(  )
> > > {
> > > ...
> > > $this->Auth->loginRedirect = '/users/loginRedirect';
> > > $this->Auth->autoRedirect = false; // <-- handle redirecting yourself
>
> > > }
>
> > > 2. create a loginRedirect action which determines where to go after a
> > > login has succeeded
>
> > > function loginRedirect()
> > > {
> > >  $this->log('users/LoginRedirect()', LOG_DEBUG);
> > >  if (parent::getAuthGroup() ===  "ADMIN")
> > >  {
> > >   $this->log('--redirecting to admin', LOG_DEBUG);
> > >   $this->redirect('/admin/myCtrl/index');
> > >  }
> > >  else
> > >  {
> > >   $this->log('--redirecting to normal', LOG_DEBUG);
> > >   $this->redirect('/myCtrl/index');
>
> > > }
>
> > > 3. Your login action is pretty simple then
>
> > > function login()
> > > {
> > >  if ($this->Auth->login())
> > >  {
> > >    $this->loginRedirect();
> > >  }
> > >  else
> > >  {
> > >   if (!empty($this->data))
> > >     $this->Session->setFlash($this->Auth->loginError);
> > >  }
>
> > > }
>
> > > I think you can get the page that the user was trying to access via
> > > the session, and redirect there, but taking them to the front page
> > > works for me
> > > .
> > > Hopefully this helps.
>
> > > -Eric
>
> > > On Jul 2, 10:44 am, leo <[EMAIL PROTECTED]> wrote:
>
> > > > On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > > > > I see what you mean, but I'm not sure that you can put 'action' => '/'
> > > > > or 'controller' => '/'.
>
> > > > Sorry, I missed that. Nope, I wouldn't want to be doing that even if
> > > > it was valid.
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-06 Thread Chez17

Using Eric's post, I created a very simple way to get the Auth
component to redirect to the referring page no matter what. I think
its userful:

Auth->autoRedirect = false;
}

function login()
{
$this->redirect($_SERVER['HTTP_REFERER']);
}
}



On Jul 2, 1:56 pm, Rich <[EMAIL PROTECTED]> wrote:
> that worked perfectly for me. thanks Eric!
>
> On Jul 2, 12:32 pm, Eric <[EMAIL PROTECTED]> wrote:
>
> > I had a similar problem and here is what I did.
>
> > 1. Change your setupAuth function like this
> > function setupAuth(  )
> > {
> > ...
> > $this->Auth->loginRedirect = '/users/loginRedirect';
> > $this->Auth->autoRedirect = false; // <-- handle redirecting yourself
>
> > }
>
> > 2. create a loginRedirect action which determines where to go after a
> > login has succeeded
>
> > function loginRedirect()
> > {
> >  $this->log('users/LoginRedirect()', LOG_DEBUG);
> >  if (parent::getAuthGroup() ===  "ADMIN")
> >  {
> >   $this->log('--redirecting to admin', LOG_DEBUG);
> >   $this->redirect('/admin/myCtrl/index');
> >  }
> >  else
> >  {
> >   $this->log('--redirecting to normal', LOG_DEBUG);
> >   $this->redirect('/myCtrl/index');
>
> > }
>
> > 3. Your login action is pretty simple then
>
> > function login()
> > {
> >  if ($this->Auth->login())
> >  {
> >    $this->loginRedirect();
> >  }
> >  else
> >  {
> >   if (!empty($this->data))
> >     $this->Session->setFlash($this->Auth->loginError);
> >  }
>
> > }
>
> > I think you can get the page that the user was trying to access via
> > the session, and redirect there, but taking them to the front page
> > works for me
> > .
> > Hopefully this helps.
>
> > -Eric
>
> > On Jul 2, 10:44 am, leo <[EMAIL PROTECTED]> wrote:
>
> > > On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > > > I see what you mean, but I'm not sure that you can put 'action' => '/'
> > > > or 'controller' => '/'.
>
> > > Sorry, I missed that. Nope, I wouldn't want to be doing that even if
> > > it was valid.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread Rich

that worked perfectly for me. thanks Eric!

On Jul 2, 12:32 pm, Eric <[EMAIL PROTECTED]> wrote:
> I had a similar problem and here is what I did.
>
> 1. Change your setupAuth function like this
> function setupAuth(  )
> {
> ...
> $this->Auth->loginRedirect = '/users/loginRedirect';
> $this->Auth->autoRedirect = false; // <-- handle redirecting yourself
>
> }
>
> 2. create a loginRedirect action which determines where to go after a
> login has succeeded
>
> function loginRedirect()
> {
>  $this->log('users/LoginRedirect()', LOG_DEBUG);
>  if (parent::getAuthGroup() ===  "ADMIN")
>  {
>   $this->log('--redirecting to admin', LOG_DEBUG);
>   $this->redirect('/admin/myCtrl/index');
>  }
>  else
>  {
>   $this->log('--redirecting to normal', LOG_DEBUG);
>   $this->redirect('/myCtrl/index');
>
> }
>
> 3. Your login action is pretty simple then
>
> function login()
> {
>  if ($this->Auth->login())
>  {
>    $this->loginRedirect();
>  }
>  else
>  {
>   if (!empty($this->data))
>     $this->Session->setFlash($this->Auth->loginError);
>  }
>
> }
>
> I think you can get the page that the user was trying to access via
> the session, and redirect there, but taking them to the front page
> works for me
> .
> Hopefully this helps.
>
> -Eric
>
> On Jul 2, 10:44 am, leo <[EMAIL PROTECTED]> wrote:
>
> > On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > > I see what you mean, but I'm not sure that you can put 'action' => '/'
> > > or 'controller' => '/'.
>
> > Sorry, I missed that. Nope, I wouldn't want to be doing that even if
> > it was valid.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread Eric

I had a similar problem and here is what I did.

1. Change your setupAuth function like this
function setupAuth(  )
{
...
$this->Auth->loginRedirect = '/users/loginRedirect';
$this->Auth->autoRedirect = false; // <-- handle redirecting yourself
}

2. create a loginRedirect action which determines where to go after a
login has succeeded

function loginRedirect()
{
 $this->log('users/LoginRedirect()', LOG_DEBUG);
 if (parent::getAuthGroup() ===  "ADMIN")
 {
  $this->log('--redirecting to admin', LOG_DEBUG);
  $this->redirect('/admin/myCtrl/index');
 }
 else
 {
  $this->log('--redirecting to normal', LOG_DEBUG);
  $this->redirect('/myCtrl/index');
}

3. Your login action is pretty simple then

function login()
{
 if ($this->Auth->login())
 {
   $this->loginRedirect();
 }
 else
 {
  if (!empty($this->data))
$this->Session->setFlash($this->Auth->loginError);
 }
}

I think you can get the page that the user was trying to access via
the session, and redirect there, but taking them to the front page
works for me
.
Hopefully this helps.

-Eric


On Jul 2, 10:44 am, leo <[EMAIL PROTECTED]> wrote:
> On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > I see what you mean, but I'm not sure that you can put 'action' => '/'
> > or 'controller' => '/'.
>
> Sorry, I missed that. Nope, I wouldn't want to be doing that even if
> it was valid.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread leo

On 2 Jul, 17:27, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> I see what you mean, but I'm not sure that you can put 'action' => '/'
> or 'controller' => '/'.
>

Sorry, I missed that. Nope, I wouldn't want to be doing that even if
it was valid.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread dr. Hannibal Lecter

I see what you mean, but I'm not sure that you can put 'action' => '/'
or 'controller' => '/'.

If you want the index action, just the omit the action from the array,
and if you send the '/' as a param, cake will find the appropriate
controller/action pair.

On Jul 2, 5:12 pm, leo <[EMAIL PROTECTED]> wrote:
> On 2 Jul, 16:54, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > Hmmm.. shouldn't it be:
>
> > $this->Auth->loginRedirect = array('controller' => 'users'); // no
> > action
> > $this->Auth->logoutRedirect = '/'; // no array
>
> I'm sure you're right, but the manual says this:
>
>     $this->Auth->loginRedirect = array('controller' => 'members',
> 'action' => 'home');
>     $this->Auth->logoutRedirect = array('admin' => false, 'controller'
> => 'members', 'action' => 'logout');
>
> Troublesome blighter to get set up, this one. I heartily recommend
> Chris Hartjes posts on this subject.
>
> http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful...http://www.littlehart.net/atthekeyboard/2007/11/20/follow-up-to-a-hop...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread leo

On 2 Jul, 16:54, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Hmmm.. shouldn't it be:
>
> $this->Auth->loginRedirect = array('controller' => 'users'); // no
> action
> $this->Auth->logoutRedirect = '/'; // no array

I'm sure you're right, but the manual says this:

$this->Auth->loginRedirect = array('controller' => 'members',
'action' => 'home');
$this->Auth->logoutRedirect = array('admin' => false, 'controller'
=> 'members', 'action' => 'logout');

Troublesome blighter to get set up, this one. I heartily recommend
Chris Hartjes posts on this subject.

http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful-tutorial-for-using-cakephps-auth-component/
http://www.littlehart.net/atthekeyboard/2007/11/20/follow-up-to-a-hopefully-usefull-tutorial-for-using-cakephps-auth-component/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread dr. Hannibal Lecter

Hmmm.. shouldn't it be:

$this->Auth->loginRedirect = array('controller' => 'users'); // no
action
$this->Auth->logoutRedirect = '/'; // no array

Or am I missing something?

On Jul 2, 12:04 pm, Populus <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm having a problem with the auth component not redirecting properly
> after logging in.
>
> Sometimes it redirects perfectly fine, sometimes it gives me a blank
> page, sometimes it redirects to an image on the previous page...
>
> i'm using this code in app_controller.php
>
>         function beforeFilter()
>         {
>                 if (isset($this->Auth))
>                 {
>                         $this->Auth->loginRedirect = array('controller' => 
> 'users',
> 'action' => '/');
>                         $this->Auth->logoutRedirect = array('controller' => 
> '/');
>                         $this->Auth->authorize = 'actions';
>
>                         if ($this->Acl->check("Guest", 
> $this->Auth->action($this->params['controller'].'/'.$this->params['action']), 
> "read"))
>
>                         {
>                                 $this->Auth->allow();
>                         }
>                         $this->set('auth', $this->Auth);
>                 }
>         }
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Auth login redirect unreliable?

2008-07-02 Thread Rich

I have this same problem but haven't been able to find a solution. If
you find something could you let me know. My page keeps redirecting to
"myurl/img/spacer.gif" which makes no sense to me.

Thanks
Rich

On Jul 2, 6:04 am, Populus <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm having a problem with the auth component not redirecting properly
> after logging in.
>
> Sometimes it redirects perfectly fine, sometimes it gives me a blank
> page, sometimes it redirects to an image on the previous page...
>
> i'm using this code in app_controller.php
>
>         function beforeFilter()
>         {
>                 if (isset($this->Auth))
>                 {
>                         $this->Auth->loginRedirect = array('controller' => 
> 'users',
> 'action' => '/');
>                         $this->Auth->logoutRedirect = array('controller' => 
> '/');
>                         $this->Auth->authorize = 'actions';
>
>                         if ($this->Acl->check("Guest", 
> $this->Auth->action($this->params['controller'].'/'.$this->params['action']), 
> "read"))
>
>                         {
>                                 $this->Auth->allow();
>                         }
>                         $this->set('auth', $this->Auth);
>                 }
>         }
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Auth login redirect unreliable?

2008-07-02 Thread Populus

Hi

I'm having a problem with the auth component not redirecting properly
after logging in.

Sometimes it redirects perfectly fine, sometimes it gives me a blank
page, sometimes it redirects to an image on the previous page...

i'm using this code in app_controller.php

function beforeFilter()
{
if (isset($this->Auth))
{
$this->Auth->loginRedirect = array('controller' => 
'users',
'action' => '/');
$this->Auth->logoutRedirect = array('controller' => 
'/');
$this->Auth->authorize = 'actions';


if ($this->Acl->check("Guest", 
$this->Auth->action($this-
>params['controller'].'/'.$this->params['action']), "read"))
{
$this->Auth->allow();
}
$this->set('auth', $this->Auth);
}
}

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---