Use of Cookies

From Koha Wiki
Jump to navigation Jump to search

This page documents the use of cookies in Koha for the purpose of creating data privacy documentation as needed by European GDPR and possibly other laws.

  • Interface: Staff or OPAC
  • Module: Acquisitions, Serials, OPAC, ...
  • Version: Koha version this was introduced if known
  • Name: Name of the cookie
  • Value: Value of the cookie
  • Expiration: duration of storage
  • Description: Description of the usage in Koha

This data is based on 16.11. Cookies added in later versions are indicated in the version column.

Interface Module Storage Version Name Value Expiration Description Bug
OPAC/Staff All pages Cookie CGISESSID session ID Until logout or end of session Session cookie
OPAC/Staff All pages Cookie KohaOpacLanguage language code 3 years Stores the language the user selected so that the OPAC will appear in the same language the next time its visited.
OPAC Cookie form_serialized
form_serialized_limits
Search terms and limits End of session or when the advanced search page is accessed again. jQuery cookie. Stores search terms and limits of the last advanced search. Set when an advanced search is submitted.
OPAC Cookie search_path_code ads (fewer) or exs (more) End of session or when the advanced search page is accessed again. jQuery cookie. Related to serialized_form* cookies. Stores if the advanced search form was used with 'More options' or 'Fewer options'.
OPAC Cookie num_paragraph count of search options added End of sesion or when the advanced search page is accessed again. jQuery cookie. Used to store the number of created options when user selects 'More options' in advanced search to increase search boxes.
OPAC Cookie bib_list list of record ids (biblionumbers) separated by / End of session or until the cart is emptied Stores cart contents in OPAC. Set when records are added to the cart for the first time.
Staff Catalogue Cookie intranet_bib_list list of record ids (biblionumbers) separated by / End of session or until the cart is emptied Stores cart contents in the staff interface. Set when records are added to the cart for the first time.
Staff Catalogue Cookie 18.05 bibs_selected Array, comma separated list of record numbers (biblionumbers) End of session JavaScript cookie. Stores biblionumbers of entries selected in a search result list. Used by the BrowseResultSelection feature, lists and cart.
Staff Cataloguing Cookie marctags_<borrowernumber> show or hide 365 days Stores whether the user wants to show/hide MARC tags when cataloguing.
Staff Cataloguing Cookie marcdocs_<borrowernumber> show or hide 365 days Stores whether the user wants to show/hide marcdocs when cataloguing.
Staff Cataloguing Cookie catalogue_editor_<borrowernumber> basic or advanced 365 days Stores whether or not to use the advanced or basic cataloguing editor by default.
Staff Cataloguing Cookie LastCreatedItem Serialized item information (subfields and contents of subfields) End of session Used to store item values of the last item created when using the PrefillItem system preference. It will use the values of the last item to prepopulate the values of the next item created.
Staff Circulation Cookie holdfor patron id (borrowernumber) 10 minutes JavaScript cookie. Stores information about the patron when using the 'Search for hold' feature.
Staff Circulation Cookie 18.11 lastborrowernumber
lastborrowername
lastborrowercard
currentborrowernumber
patron ids, first name and surname, cardnumber End of session JavaScript cookie. Stores information about the last accessed patron record in order to provide a link to the 'last patron'. Visibility of the link can be configured using the showLastPatron system preference.
Staff Circulation Cookie issues-table-load-immediately-circulation true 365 days Stores if the user selected to see all checkouts immediately on the checkouts or details tab in the patron account.
Staff Authorities Cookie auth_to_merge Array of authority record ids End of session Stores authority records selected to be merged.
Staff Administration Cookie marctagstructure_selectdisplay 0 or 1 End of session Stores whether or not only used tags/subfields are displayed for MARC bibliographic frameworks.
Staff Acquisitions Cookie filter_parcel_summary
filter_parcel_basketname
filter_parcel_orderno
filter_parcel_basketgroupname
filter_parcel_ean
Search terms entered in filters End of session JavaScript cookie. Stores the values entered in the filters on the left of the parcel/shipment page so they are remembered when returning to the page after receiving an order line.
Staff Acquisitions Cookie 20.05 searchToOrder basket number, vendor ID 10 minutes JavaScript cookie. Stores information about the basket (order) and vendor when creating orders from bibliographic records already existing in the catalog.
Staff Cataloguing Cookie 21.05 z3950search_last_action button name does not apply localStorage key. Stores your last choice for Card or MARC button on Z3950 search results.
Staff Cataloguing Cookie 22.05 always_show_holds Bug 29058
Staff Cataloguing Cookie 22.11.0 ItemEditorSessionTemplateId template id Until end of session Stores the id of the item editor template if any. If exists, the values from that template are applied to the item form in the items editor. Bug 24606
OPAC/Staff All pages Local Storage 23.11 CookieConsent JavaScript code Session JavaDcript code that has been consented to as part of cookie consent. This code is created and stored in the system preference 'CookieConsentedJS'. There will be one cookie for every code entry in this system preference, stored under the name given in the system preference. Bug 27378