Zend Authentication Help??

Discussion in 'PHP' started by Gins Babu, Feb 17, 2010.

  1. #1
    Hi all...
    I am using zend-auth for authentication.It works fine.what i want to do is increase timeout.Since the default session is used i can't or i dont know how to increase the timeout..Any help would be great!!

    I tried to initalize a object of Zend_auth and set expiration seconds to custom didn't wrk. Also set gcmaxlife time...no way??please help me...
     
    Gins Babu, Feb 17, 2010 IP
  2. Einheijar

    Einheijar Well-Known Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    165
    #2
    Have you tried
    
    if(!Zend_Session::isStarted()){
        Zend_Session::rememberMe(86400);}
    
    PHP:
     
    Einheijar, Dec 27, 2016 IP