better setting of cookie support