Hello,
Do you the PHP Sessions active?
This is not CAKE Session, is PHP Session.
To check if you have the PHP Sessions active go to your php.ini file,
find the 'Session' section and check for something like this:
session.auto_start = 1 //This will turn on the session
session.gc_maxlifetime = 1440 // this is th # of seconds your data
will remain in session
session.cache_expire = 180 // this is the # of minutes after wich
your document will expire
These are the things I believe that can go wrong with your
description...
Good luck!
On Mar 2, 7:07 pm, "jamiro" <[EMAIL PROTECTED]> wrote:
> hi ,
> I have a problem in the handling of sessions, my configuration in
> core.php is:
> define('CAKE_SESSION_SAVE', 'php');
> define('CAKE_SECURITY', 'medium');
> now my problem is when refresh the page (or change the page), my
> session id changes and I cannot read the stored thing previously:
>
> here an example of my situation:
>
> file: a_controller.php
> function index($id=1) {
> $this->Session- write('estandar', $id);}
>
> file: b_controller.php
> function index() {
> $estandarSession=$this->Session- read('estandar');}
>
> $estandarSession receives nothing... some suggestion? thanks
>
> sorry for my terrible english ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---