redirect and sessions not working

2011-10-11 Thread cakii
i, i have a few problems i can't solve .. im using cake 2.0.0-RC3 and PHP Version 5.3.1 cake default layout , debug 2 in my controller i only have one simple line: (the corresponding view is completly empty) $this-redirect('http://http://www.cakephpforum.net/'); but nothing happens, just a

Re: redirect and sessions not working

2011-10-11 Thread majna
On Tuesday, October 11, 2011 11:10:55 AM UTC+2, cakii wrote: i, i have a few problems i can't solve .. im using cake 2.0.0-RC3 and PHP Version 5.3.1 cake default layout , debug 2 in my controller i only have one simple line: (the corresponding view is completly empty)

Re: redirect and sessions not working

2011-10-11 Thread cakii
hmm, in my project just nothing happens, if i put my code in AppController::beforeFilter(), just an empty debug: *app\Controller\AppController.php* (line *14*) for a clean app its enough to use latest download in another directory eg htdocs/test2, right ?! in the meantime i had another

Re: redirect and sessions not working

2011-10-11 Thread majna
On Tuesday, October 11, 2011 2:23:42 PM UTC+2, cakii wrote: hmm, in my project just nothing happens, if i put my code in AppController::beforeFilter(), just an empty debug: *app\Controller\AppController.php* (line *14*) for a clean app its enough to use latest download in another

Re: redirect and sessions not working

2011-10-11 Thread cakii
$this-find('first', array('conditions' = array('id'=11), 'fields' = array('ip1', 'ip2'))); should work. http://book.cakephp.org/2.0/en/models/retrieving-your-data.html?highlight=find%20first#find-first or $this-id = 11; $this-read(array('ip1', 'ip2')); yes, both works You are