[phpMP-CVS] CVS: phpMP/includes auth.php,1.8,1.9
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2002-04-11 06:30:37
|
Update of /cvsroot/phpmp/phpMP/includes In directory usw-pr-cvs1:/tmp/cvs-serv7698/includes Modified Files: auth.php Log Message: Updated module error handling; fixed early session termination. Index: auth.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** auth.php 11 Apr 2002 05:40:15 -0000 1.8 --- auth.php 11 Apr 2002 06:02:37 -0000 1.9 *************** *** 102,105 **** --- 102,106 ---- $num_rows = $DBA->num_rows($result); if($num_rows > 0) { + $DBA->query('UPDATE ' . $MPCONF['DB']['table_prefix'] . 'sessions SET expiretime="' . $this->cookietime . '" WHERE username = "' . $sess_user . '"'); return $this->FetchUserVars($sess_user); setcookie($cookiename, $sess_user, $this->cookietime, $MPCONF['GEN']['uri']); |