Log in with username/password: lyceum/lyceum

Changeset 1271

Show
Ignore:
Timestamp:
11/24/07 03:16:35 (8 months ago)
Author:
jjb
Message:

Tokens never expire, sessions expire after 2 weeks. (and right now, sessions are only used for tokens, so, tokens expire after two weeks... sort of)

#729

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/src/lib/functions.php

    r1253 r1271  
    247247   } 
    248248 
    249    if (!$keep) 
    250     unset($_SESSION['formtokens'][$key][$token]); 
     249   // if (!$keep) 
     250   // unset($_SESSION['formtokens'][$key][$token]); 
    251251   return true; 
    252252} 
  • branches/1.0/src/lyceum/wp-settings.php

    r1186 r1271  
    262262register_shutdown_function('shutdown_action_hook'); 
    263263 
    264 session_set_cookie_params ( 31556926, '/', '.'.MAINDOMAIN ); 
     264session_set_cookie_params ( 1209600, '/', '.'.MAINDOMAIN ); // Two weeks 
    265265session_start(); 
    266266 
Log in with username/password: lyceum/lyceum