support appendcookie

support appendcookie