Changeset 60
- Timestamp:
- Aug 30, 2003, 1:28:14 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/profile.php
r57 r60 110 110 setcookie( 'id',$page['session_id'],$_POST['cookie_expiration'], 111 111 cookie_path() ); 112 // update the expiration date of the session 113 $query = 'UPDATE '.PREFIX_TABLE.'sessions'; 114 $query.= ' SET expiration = '.$_POST['cookie_expiration']; 115 $query.= " WHERE id = '".$page['session_id']."'"; 116 $query.= ';'; 117 mysql_query( $query ); 112 118 } 113 119 // redirection
Note: See TracChangeset
for help on using the changeset viewer.