Harish,

My course would be to intervene in the process (with debug(); die;)
and compare your assumptions to reality.

For example, you say:
> I have included $this->Auth->allow('display') in the controller
> beforeFilter() function(for the relevant redirected page(s)).

but since you're bouncing, I have to wonder; are you really 'starting'
on display? I wouldn't look for exotic solutions until you've verified
that you've actually 'allow'ed the right locations.

For example, if you change to $this->Auth->allow('*') does it let you
get in without problems?

I'd start putting debug() statements in here and there to evaluate
exactly what is happening.

Hope this advice isn't too basic, but this sounds like you're
assumptions are preventing you from 'seeing'.

Regards,
Don

On May 11, 8:22 pm, Harish Amur <[email protected]> wrote:
> I know this issue has been discussed quite a bit early on. I did read many
> posts, however I am not finding a solution, so I am going to ask again.
>
> I use Auth to authenticate. It is a simple user, password screen. However
> whenever I start, I am taken to the login page with the error message 'You
> are not authorized to access that location' already displayed and the
> user/pass fields populated. If I click on login it works and I am redirected
> to the right page.
>
> I have included $this->Auth->allow('display') in the controller
> beforeFilter() function(for the relevant redirected page(s)). I have also
> included 'value'=>'' in the login.ctp.
>
> Is this to do with Cache? Some settings in the core.php?
>
> Regards,
> Harish

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to