Class IdCookieService


  • @Singleton
    public class IdCookieService
    extends java.lang.Object
    Service class for JATOS ID cookie handling. It generates, extracts and discards ID cookies. An ID cookie is used by the JATOS server to tell jatos.js about several IDs the current study run has (e.g. worker ID, study ID, study result ID). This cookie is created when the study run is started and discarded when it's done. If all possible cookies are used, the start of a new study will cause the oldest ID cookie to be overwritten.