On Wed, Jun 18, 2008 at 12:06 PM, Steve <[EMAIL PROTECTED]> wrote:
>
>
> function beforeFilter()
> {
> parent::beforeFilter();
> $this->Auth->allow('success');
>
> $this->basket = $this->Session->read('Basket');
>
> switch ($this->action) {
> case "add_system":
> case "add_fixtures":
> case "add_harware":
> case "add_other":
> case "submit_quote":
> if (!$this->Session->check('Basket.Quote.wall_center')) {
> $this->redirect('/quotes/setup/');
> Well ideally a call to $this->redirect() should also call an exit - but if
you are using 1.1
try adding an exit() after the redirect
HTH
Tarique
--
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---