Bug 6125 removing the section inside pm cache builder and added a new method inside the rbac class in order to remove the older session files

This commit is contained in:
Gustavo Adolfo Cruz Laura
2011-02-23 22:14:04 +00:00
parent 7f9d0bac81
commit 2a1af0e504
3 changed files with 51 additions and 30 deletions

View File

@@ -40,6 +40,8 @@ try {
$pwd = trim($frm['USR_PASSWORD']);
}
$uid = $RBAC->VerifyLogin($usr , $pwd);
//cleaning session files older than 72 hours
$RBAC->cleanSessionFiles(72);
$sPwd = 'currentPwd';
switch ($uid) {
//The user does not exist