Re: sessions problem
Hello, That particular define controls ao CAKE handles sessions...you have 3 choices: * php - CAKE uses PHP Session to store Session Data * database - CAKE uses DB to store Session Data * cake - CAKE uses a temp file to store Session Data So, I think that NOT TELLING cake how you want it to handle the Sessions is not a good ideia... You really should pick an option from above and try it to make it work, because you cannot tell how cake will behave if nothing is defined as the place-holder for session data... Good luck! On Mar 7, 3:34 pm, jamiro [EMAIL PROTECTED] wrote: In my case my solution was: define('CAKE_SESSION_SAVE', ''); Is a good solution? thanks. On 7 mar, 03:52, bingo [EMAIL PROTECTED] wrote: Hi mindcharger, Thanks for the information. I will give it a try. For now, I tried playing with Cake_Session_Save and Security. I modified Cake_Session_Save to database and security to medium. These changes solved my current problems. Regards, Ritesh On Mar 7, 3:44 am, mindcharger [EMAIL PROTECTED] wrote: Yep! They're the same... The phpinfo() shows the php.ini info, plus a couple more stuff... You don't have acess to php.ini? Well...let's see what we can do... First of all, you can force manually the session start...how? Like this: session_start(); $_SESSION['car'] = 'Dodge Charger R/T'; This code, placed on your controller, starts the session and stores a session variable named car with value Dodge Charger R/T. Then you, when you're done you can kill the session with: session_destroy(); And that should do it... Good luck! On Mar 6, 10:39 am, bingo [EMAIL PROTECTED] wrote: Hi, I checked my phpinfo() details and over there it shows session_cookie_lifetime = 0. Is this the same cookie_lifetime you were talking off or is there some other...I don't have access to php.ini file.. Regards, bingo On Mar 6, 5:24 am, mindcharger [EMAIL PROTECTED] wrote: Hi, To make the session time longer go to php.ini and set session.cookie_lifetime to 0 that means (keep session alive until browser is closed)... As for security risks...I think you can answer that for yourself...if there wasn't risk, there would be no session...:-) The rule: Longer Sessions, Less Security As for gmail, I don't know how it works, but I think it must do some sort of session renewal... Good luck On Mar 5, 2:39 pm, bingo [EMAIL PROTECTED] wrote: I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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
RE: sessions problem
You can also add your custom handler. For example I will replicate the way CakePHP handles sessions but leaving trans_sid ON (CakePHP deactivates it). To do just that: 1. Create a file app/config/session_cake_use_trans_sid.php with: ?php if (function_exists('ini_set')) { ini_set('session.serialize_handler', 'php'); ini_set('session.use_cookies', 1); ini_set('session.name', CAKE_SESSION_COOKIE); ini_set('session.cookie_lifetime', $this-cookieLifeTime); ini_set('session.cookie_path', $this-path); ini_set('session.gc_probability', 1); ini_set('session.auto_start', 0); ini_set('session.save_path', TMP . 'sessions'); } ? 2. On app/config/core.php change: define('CAKE_SESSION_SAVE', 'php'); to: define('CAKE_SESSION_SAVE', 'session_cake_use_trans_sid'); So you get the idea :) -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de mindcharger Enviado el: Jueves, 08 de Marzo de 2007 05:21 a.m. Para: Cake PHP Asunto: Re: sessions problem That particular define controls ao CAKE handles sessions...you have 3 choices: * php - CAKE uses PHP Session to store Session Data * database - CAKE uses DB to store Session Data * cake - CAKE uses a temp file to store Session Data So, I think that NOT TELLING cake how you want it to handle the Sessions is not a good ideia... You really should pick an option from above and try it to make it work, because you cannot tell how cake will behave if nothing is defined as the place-holder for session data... --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
RE: sessions problem
You can also add your custom handler. For example I will replicate the way CakePHP handles sessions but leaving trans_sid ON (CakePHP deactivates it). To do just that: 1. Create a file app/config/session_cake_use_trans_sid.php with: ?php if (function_exists('ini_set')) { ini_set('session.serialize_handler', 'php'); ini_set('session.use_cookies', 1); ini_set('session.name', CAKE_SESSION_COOKIE); ini_set('session.cookie_lifetime', $this-cookieLifeTime); ini_set('session.cookie_path', $this-path); ini_set('session.gc_probability', 1); ini_set('session.auto_start', 0); ini_set('session.save_path', TMP . 'sessions'); } ? 2. On app/config/core.php change: define('CAKE_SESSION_SAVE', 'php'); to: define('CAKE_SESSION_SAVE', 'session_cake_use_trans_sid'); So you get the idea :) -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de mindcharger Enviado el: Jueves, 08 de Marzo de 2007 05:21 a.m. Para: Cake PHP Asunto: Re: sessions problem That particular define controls ao CAKE handles sessions...you have 3 choices: * php - CAKE uses PHP Session to store Session Data * database - CAKE uses DB to store Session Data * cake - CAKE uses a temp file to store Session Data So, I think that NOT TELLING cake how you want it to handle the Sessions is not a good ideia... You really should pick an option from above and try it to make it work, because you cannot tell how cake will behave if nothing is defined as the place-holder for session data... --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
Yep! They're the same... The phpinfo() shows the php.ini info, plus a couple more stuff... You don't have acess to php.ini? Well...let's see what we can do... First of all, you can force manually the session start...how? Like this: session_start(); $_SESSION['car'] = 'Dodge Charger R/T'; This code, placed on your controller, starts the session and stores a session variable named car with value Dodge Charger R/T. Then you, when you're done you can kill the session with: session_destroy(); And that should do it... Good luck! On Mar 6, 10:39 am, bingo [EMAIL PROTECTED] wrote: Hi, I checked my phpinfo() details and over there it shows session_cookie_lifetime = 0. Is this the same cookie_lifetime you were talking off or is there some other...I don't have access to php.ini file.. Regards, bingo On Mar 6, 5:24 am, mindcharger [EMAIL PROTECTED] wrote: Hi, To make the session time longer go to php.ini and set session.cookie_lifetime to 0 that means (keep session alive until browser is closed)... As for security risks...I think you can answer that for yourself...if there wasn't risk, there would be no session...:-) The rule: Longer Sessions, Less Security As for gmail, I don't know how it works, but I think it must do some sort of session renewal... Good luck On Mar 5, 2:39 pm, bingo [EMAIL PROTECTED] wrote: I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
Hi mindcharger, Thanks for the information. I will give it a try. For now, I tried playing with Cake_Session_Save and Security. I modified Cake_Session_Save to database and security to medium. These changes solved my current problems. Regards, Ritesh On Mar 7, 3:44 am, mindcharger [EMAIL PROTECTED] wrote: Yep! They're the same... The phpinfo() shows the php.ini info, plus a couple more stuff... You don't have acess to php.ini? Well...let's see what we can do... First of all, you can force manually the session start...how? Like this: session_start(); $_SESSION['car'] = 'Dodge Charger R/T'; This code, placed on your controller, starts the session and stores a session variable named car with value Dodge Charger R/T. Then you, when you're done you can kill the session with: session_destroy(); And that should do it... Good luck! On Mar 6, 10:39 am, bingo [EMAIL PROTECTED] wrote: Hi, I checked my phpinfo() details and over there it shows session_cookie_lifetime = 0. Is this the same cookie_lifetime you were talking off or is there some other...I don't have access to php.ini file.. Regards, bingo On Mar 6, 5:24 am, mindcharger [EMAIL PROTECTED] wrote: Hi, To make the session time longer go to php.ini and set session.cookie_lifetime to 0 that means (keep session alive until browser is closed)... As for security risks...I think you can answer that for yourself...if there wasn't risk, there would be no session...:-) The rule: Longer Sessions, Less Security As for gmail, I don't know how it works, but I think it must do some sort of session renewal... Good luck On Mar 5, 2:39 pm, bingo [EMAIL PROTECTED] wrote: I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
In my case my solution was: define('CAKE_SESSION_SAVE', ''); Is a good solution? thanks. On 7 mar, 03:52, bingo [EMAIL PROTECTED] wrote: Hi mindcharger, Thanks for the information. I will give it a try. For now, I tried playing with Cake_Session_Save and Security. I modified Cake_Session_Save to database and security to medium. These changes solved my current problems. Regards, Ritesh On Mar 7, 3:44 am, mindcharger [EMAIL PROTECTED] wrote: Yep! They're the same... The phpinfo() shows the php.ini info, plus a couple more stuff... You don't have acess to php.ini? Well...let's see what we can do... First of all, you can force manually the session start...how? Like this: session_start(); $_SESSION['car'] = 'Dodge Charger R/T'; This code, placed on your controller, starts the session and stores a session variable named car with value Dodge Charger R/T. Then you, when you're done you can kill the session with: session_destroy(); And that should do it... Good luck! On Mar 6, 10:39 am, bingo [EMAIL PROTECTED] wrote: Hi, I checked my phpinfo() details and over there it shows session_cookie_lifetime = 0. Is this the same cookie_lifetime you were talking off or is there some other...I don't have access to php.ini file.. Regards, bingo On Mar 6, 5:24 am, mindcharger [EMAIL PROTECTED] wrote: Hi, To make the session time longer go to php.ini and set session.cookie_lifetime to 0 that means (keep session alive until browser is closed)... As for security risks...I think you can answer that for yourself...if there wasn't risk, there would be no session...:-) The rule: Longer Sessions, Less Security As for gmail, I don't know how it works, but I think it must do some sort of session renewal... Good luck On Mar 5, 2:39 pm, bingo [EMAIL PROTECTED] wrote: I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
Hi, To make the session time longer go to php.ini and set session.cookie_lifetime to 0 that means (keep session alive until browser is closed)... As for security risks...I think you can answer that for yourself...if there wasn't risk, there would be no session...:-) The rule: Longer Sessions, Less Security As for gmail, I don't know how it works, but I think it must do some sort of session renewal... Good luck On Mar 5, 2:39 pm, bingo [EMAIL PROTECTED] wrote: I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
Hi, I checked my phpinfo() details and over there it shows session_cookie_lifetime = 0. Is this the same cookie_lifetime you were talking off or is there some other...I don't have access to php.ini file.. Regards, bingo On Mar 6, 5:24 am, mindcharger [EMAIL PROTECTED] wrote: Hi, To make the session time longer go to php.ini and set session.cookie_lifetime to 0 that means (keep session alive until browser is closed)... As for security risks...I think you can answer that for yourself...if there wasn't risk, there would be no session...:-) The rule: Longer Sessions, Less Security As for gmail, I don't know how it works, but I think it must do some sort of session renewal... Good luck On Mar 5, 2:39 pm, bingo [EMAIL PROTECTED] wrote: I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
I have a similar problem.once I login successfully and if there is no activity, the session exprires automatically after few minutes.. Does it mean, I need to increase session.gc_maxlifetime . What should be the value if I want session remain active indefinitely...and what are the security risks with that...I am wondering how my gmail session always remain active... looking forward for some insights regards, bingo On Mar 3, 8:09 am, mindcharger [EMAIL PROTECTED] wrote: Hello, Do you the PHP Sessions active? This is not CAKESession, is PHPSession. 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 thesessionsession.gc_maxlifetime = 1440 // this is th # of seconds your data will remain insessionsession.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 sessionid 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 ...- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: sessions problem
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 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?hl=en -~--~~~~--~~--~--~---