Hi Carlosrg,
Your post indicates that the checkSession method is run for a delete
call.
What does checkSession do?
*If it does not contain a die statement your code will continue to
run.
*If checkSession returns a value, it is not passed to beforeFilter
*If beforeFilter does not return False, the controller method is still
run
You can fix this by either
1) coding checkSession to die after redirecting.
2) coding checkSession to return false if it fails AND coding
beforeFilter to return the result of checkSession
Si hay algo mas, y preferias escribir EspaƱol - ir a CakeES :)
Cheers,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP 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
-~--~~~~--~~--~--~---