Value from cookie has priority