Results 1 to 3 of 3

Thread: Session Timeout

  1. #1
    betaclub is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Default Session Timeout

    Our sugar login sessions timeout after 24 min! I have changed gc_maxlifetime to 28800 (8 hours) and cookie_lifetime to 0. There is only one php.ini on the entire server. I have searched for gc_maxlifetime in every file on the server and it only occurs in the one php.ini file. I have also tried putting these values in a .htaccess file in the sugar dir. I can phpinfo() and it shows the values above, but yet after 24 minutes the sugar session expires and requires us to login again. I am not using the sub-directory option for storing session files, they are stored in the default location /var/lib/php.

    I am running sugar pro 6.0.0RC3 on Apache/2.2.14 (Unix) and PHP 5.2.12.

    thanks!

  2. #2
    skinsch is offline Junior Member
    Join Date
    Oct 2010
    Posts
    3

    Default Re: Session Timeout

    I get the same thing. I upped the value from 24 minutes to 4 hours (14400), restarted Apache to take effect, looked at the phpinfo(); and it's changed.. but still a timeout occurs. Why?

    Using Sugar CE 6.0.2

    session.use_cookies = 1
    session.cookie_lifetime = 0
    session.gc_probability = 1
    session.gc_divisor = 100
    session.gc_maxlifetime = 14400
    session.entropy_file = "/dev/urandom"
    session.cache_expire = 180
    session.cache_limiter = nocache
    session.save_path = "/tmp"
    Last edited by skinsch; 2010-10-07 at 03:57 PM. Reason: adding more info

  3. #3
    betaclub is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Default Re: Session Timeout

    UPDATE:

    I moved sugar to another server in house over the weekend, I still got the same results. Note that the sugar DB resides on our db server, which is a separate server from the webservers, not sure if that makes a difference

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. about session timeout
    By nareshit1231 in forum Developer Help
    Replies: 8
    Last Post: 2010-11-18, 10:32 PM
  2. session timeout
    By alex3232 in forum Developer Help
    Replies: 8
    Last Post: 2010-08-06, 05:47 AM
  3. about session timeout
    By nareshit1231 in forum Developer Help
    Replies: 1
    Last Post: 2010-08-02, 07:19 PM
  4. Timeout for disconnect session
    By aleroot in forum Help
    Replies: 0
    Last Post: 2009-04-23, 10:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •