<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_config_value(request, response, key, value):
 """Sets value of key `key` to `value` in both session and cookies."""

    request.session[key] = value
    response.set_cookie(key, value, expires=one_year_from_now())
    return response