Set config via cookie