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 [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