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