Changeset 1258 in ExiteCMS for trunk/includes/user_functions.php


Ignore:
Timestamp:
02/10/08 21:47:13 (4 years ago)
Author:
hverton
Message:

fixed issue with session caching, causing bizare side-effects
added an explanation to the different possible locale modes
fixed not updating the login_expire session variable upon page load_localestrings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r1222 r1258  
    129129            exit; 
    130130        } 
     131        // update the login expiration timestamp 
     132        $_SESSION['login_expire'] = isset($_SESSION['remember_me']) ? (time() + $settings['session_gc_maxlifetime']) : (time() + 60*60); 
    131133    } else { 
    132134        header("P3P: CP='NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM'"); 
Note: See TracChangeset for help on using the changeset viewer.