Ive ran into the complete opposite. My ajax requests would always be
redirected to the login page.

Can we see your code? Are you allowing the actions on accident?

On May 26, 4:43 pm, heratech <[email protected]> wrote:
> this has been posted before by someone else but there was no 
> answerhttp://groups.google.com/group/cake-php/browse_thread/thread/9b15f303...
>
> basically the auth component works fine if i browse to the json page
> using my browser but if it uses the xmlhttprequest post it doesnt seem
> to be a requirement that i am logged in?
> is this the correct behaviour. how do i change it?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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