Ignore:
Timestamp:
Jul 23, 2006, 5:25:49 PM (18 years ago)
Author:
nikrou
Message:

bug 451 fixed: problem with auto login

  • add an auto_login_key in users_table
  • $confsession_length is no more useful

and sessions length will be 0 (until browser closed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_session.inc.php

    r1442 r1493  
    7272    ini_set('session.use_trans_sid', intval($conf['session_use_trans_sid']));
    7373  }
    74   session_name( $conf['session_name'] );
    75   session_set_cookie_params(
    76       ini_get('session.cookie_lifetime'),
    77       cookie_path()
    78     );
     74  session_name($conf['session_name']);
     75  session_set_cookie_params(0, cookie_path());
    7976}
    8077
Note: See TracChangeset for help on using the changeset viewer.