The ePrivacy directive allows some cookies to be exempted from the requirement of consent, if they satisfy one of the following criteria:

1) The cookie is used “for the sole purpose of carrying out the transmission of a communication over an electronic communications network”.

2) The cookie is “strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service”.

Note taht it does not exempt from the obligation of information and you need to inform the user of the use of such cookies in your Privacy/cookies Policy.