Results 1 to 5 of 5
Like Tree2Likes
  • 2 Post By Angel

Thread: How to modify the session timeout in Sugar CRM?

  1. #1
    vjoshi is offline Member
    Join Date
    Jul 2011
    Posts
    14

    Default How to modify the session timeout in Sugar CRM?

    Hi,

    I wanted to know about the length of time when a sugarcrm session is active.

    When I log in, how long does it take before the session expires (this I know 24 minutes if I am correct)?
    The next question was : Is this time configurable and if so, the how to do it?

    Thanks!

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: How to modify the session timeout in Sugar CRM?

    Increase the session.gc_maxlifetime setting in PHP.INI and then restart your web service to apply the change.
    andopes and clifford.thomas like this.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    glynd is offline Sugar Community Member
    Join Date
    Jul 2009
    Posts
    51

    Default Re: How to modify the session timeout in Sugar CRM?

    I am running Community Edition 6.2.2 on Ubuntu 11.04 server, mysql 5 and php 5

    I have altered the php.ini session.gc_maxlifetime = 144000 which should be 40 hours!

    I am not running session management on Windows client and I have tried FF 3 and Chrome. After about 24 minutes the session is killed. Looking at phpinfo the session.gc_maxlifetime is correctly reported.

    This has only started after updating ubuntu from 8.04 LTS. This was done in-situ so no settings were changed.

    It is not a show-stopper but it is a real pain for all the users.

    Anyone got an idea where I can look to change the session timeout that Sugar will honour?

    TIA
    Glyn

  4. #4
    lczirbesz is offline Junior Member
    Join Date
    Nov 2010
    Posts
    2

    Thumbs up Re: How to modify the session timeout in Sugar CRM?

    Hi Glyn,

    In Debian based distributions, you have a cron job for purging sussion files.

    Check your /etc/cron.d/php5 file, and you'll see it's purging at every hour twice (at 09 and 39 min).
    Comment this cron setting, and the session.gc_maxlifetime in your php.ini should be work.

    Ps: Sorry for my english

    Laca

  5. #5
    Saymon28 is offline Junior Member
    Join Date
    Oct 2011
    Posts
    1

    Default Re: How to modify the session timeout in Sugar CRM?

    Its Nice to know that, I like your instruction.
    Thanks for the share

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. Replies: 2
    Last Post: 2010-11-06, 04:11 AM
  3. Session Timeout
    By betaclub in forum Help
    Replies: 2
    Last Post: 2010-10-11, 04:02 PM
  4. about session timeout
    By nareshit1231 in forum Developer Help
    Replies: 1
    Last Post: 2010-08-02, 07:19 PM

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
  •