public void logout ( ) throws Exception { Api apiResult = getActionResult ( "logout" , "" , null , null ) ; if ( apiResult != null ) { userid = null ; // FIXME check apiResult } if ( cookies != null ) { cookies . clear ( ) ; cookies = null ; } }
end the session