Are you running PHP on IIS with fastcgi? If not, I would strongly
suggest it:

http://bakery.cakephp.org/articles/view/cakephp-on-iis6-with-fastcgi-sql-server-2005-and-isapi_rewrite

Next, I would check the session settings in my php.ini file to make
sure the timeout isn't super short or something.

- James

On Jun 5, 12:48 pm, regent <[EMAIL PROTECTED]> wrote:
> I'm using IIS.  I can write to a session and read from it within the
> same page, but when I go to a different page the session no longer
> exists.  Any ideas what the issue is?
>
> in controller/index
>
> $this->Session->write('test', 'this is a test');
> $test = $this->Session->read('test');
> pr($test);
>
> // the output is this is a test
>
> if I then go to another page
>
> controller/next
>
> $this->Session->write('test', 'this is a test');
> $test = $this->Session->read('test');
> pr($test);
>
> // there is no output, the session is lost
>
> in config/core.php, adjusted to these settings:
>
> Configure::write('Session.checkAgent', false);
> Configure::write('Security.level', 'low');
--~--~---------~--~----~------------~-------~--~----~
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