Example #1
0
 /**
  * Commit the Session
  * @param type $store_last_url
  * @return GWF3 
  */
 public function onSessionCommit($store_last_url = true)
 {
     # Commit the session
     if (false !== ($user = GWF_Session::getUser())) {
         $user->saveVar('user_lastactivity', time());
     }
     GWF_Session::commit($store_last_url);
     return $this;
 }