ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Session expiry


  • 2007-02-19 15:29:36

    Session expiry

    I am currently using ATutor 1.5.3.2 and I have problems with how to increase session expiry time (2 hours, for instance). I found some solutions in previous versions of ATutor but they don't work for my version. Currently session expiry time is only several minutes. I don't know the problem is in ATutor or in the config of web server (APACHE) or PHP or ... Please help.

    Chieu

  • 2007-02-20 09:01:54

    Re: Session expiry

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2007-02-20 10:30:24

    Re: Session expiry

    Please have a look at http://grip.umich.edu/themat/info.php.

    Thanks.

  • 2007-02-20 12:11:35

    Re: Session expiry

    Set session.cache_expire to something higher than 180.
    180 seconds is 3 minutes!

  • 2007-02-20 13:59:52

    Re: Session expiry

    I don't think it is only in session.cache_expire. Indeed, session.cache_expire is measured in minutes (http://us3.php.net/session). It may have other reasons, right?

    Note: The ATutor version I am using is 1.5.3.3

  • 2007-02-21 14:47:24

    Re: Session expiry

    In "include/vitals.inc.php", line 77, I modified the code as follows:

    @ini_set('session.cache_expire', '180'); /* 3 hours */
    @ini_set('session.gc_maxlifetime', '3600'); /* 1 hours */
    @session_save_path(AT_CONTENT_DIR . 'save_path');