Changeset 1686 in ExiteCMS
- Timestamp:
- 08/25/08 17:48:52 (3 years ago)
- File:
-
- 1 edited
-
trunk/includes/user_functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/user_functions.php
r1667 r1686 56 56 } 57 57 58 // Check if a user islogging in58 // Check if a user wants to logging in 59 59 if (isset($_POST['login'])) { 60 60 $auth_result = false; … … 97 97 } 98 98 99 // login session expired?100 if ( !empty($_SESSION['login_expire']) && $_SESSION['login_expire'] < time()) {99 // if not in the process of posting a form, did the login session expired? 100 if (count($_POST)==0 && !empty($_SESSION['login_expire']) && $_SESSION['login_expire'] < time()) { 101 101 // clear the login info from the session 102 102 unset($_SESSION['user']);
Note: See TracChangeset
for help on using the changeset viewer.
