added  option to not clear out of session or db (useful for ajax checks)