Please show the code where you sets the timeout period and the code
where you renew the session (plus surrounding code), so that we may be
able to assist you!

Looking at the SessionComponent and the CakeSession code, the renew
method should just regenerate the session id, keeping all the previous
stored values. I have done this, so I know that it works!

Enjoy,
   John

On Jun 4, 8:42 pm, starkey <[email protected]> wrote:
> Bump
>
> On Apr 29, 3:26 pm, starkey <[email protected]> wrote:
>
> > Hello all,
>
> > I'm trying to figure out how to "refresh" the session expiration
> > time.  For example, if someone logs in at 1pm and the session is
> > supposed to last an hour then that user is always logged out at 2pm,
> > regardless of how frequently they hit the page.  What I'd like to
> > happen is after every hit the expiration date is bumped to be SYSDATE
> > + (Session.timeout * Security.level).
>
> > I tried renew and that cleared the session variables.
>
> > I've read the book, cruised the code, googled, etc, so please don't
> > slam me.  I just can't find an answer.
>
> > Thanks for any help!
> > Shawn
>
>
--~--~---------~--~----~------------~-------~--~----~
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