Task #2935

Mis à jour par Alexey Lavrentev 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 and a standard "close" button in the upper right corner: button:
** Bouton "OK", "Accepter", the dialog box is closed, acceptance of cookies is assumed closed
* the acceptation by the user must be recorded recorder for one year before beeing asked again
* a cookies related HTML page must be created
* if the user clicks on the "close (x)" button, the box is closed but the cookie is not created. The dialog box will be displayed again the next time the user visits the portal.


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 with the "OK" button the "cookies" cookie is created with today's date (YYYY-MM-DD)
- when the user clicks on the "close (x)" button, the box is closed but the cookie is not created. The dialog box will be displayed again the next time the user visits the portal.

Retour