Task #2935

Mis à jour par Matthieu Decorde il y a presque 3 ans

TXM portal software uses only functional cookies - no "third party" cookies - (see https://emploi.cnrs.fr/cookies.aspx for a definition).

Functional cookies usage agreement is not required by the user, but the user must be explicitly informed of cookies usage.

h3. Solution

Proposal (copied from emploi.cnrs.fr website):

* After startup and before login, a modal dialog box must display with the following message:

<pre>
FR: Ce portail utilise des cookies pour son fonctionnement. En poursuivant la navigation, vous acceptez le dépôt de cookies dans votre navigateur. <br>(Pour en savoir plus, voir la <a target="_blank" href="html/Cookies.jsp">page décrivant l'usage des Cookies par le portail</a> )

EN: This portal uses cookies for its operation. By continuing your navigation, you accept the deposit of cookies in your browser. <br>(For more information, see the <a target="_blank" href="html/Cookies.jsp">page describing the use of Cookies by the portal</a> )</pre>

* with one button:
** Bouton "Accepter", the dialog box is closed
* the acceptation by the user must be recorder for one year before beeing asked again
* a cookies related HTML page must be created

Implementation :
- the "cookies" cookie stores the date of the last cookies validation
- when someone arrives on the portal, the portal test if the cookie "cookies" exists, if not -> show the cookies dialog
- if the "cookies" cookie exists and if its date is older than one year -> show the cookies dialog
- when the user closes the cookies dialog the "cookies" cookie is created with today's date (YYYY-MM-DD)

Retour