About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:cookies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vufind2:cookies [2015/11/30 18:40] – [Session Cookie] demiankatzdevelopment:architecture:cookies [2019/05/10 12:08] (current) – [Session Cookie] demiankatz
Line 1: Line 1:
 ====== Cookies ====== ====== Cookies ======
  
-VuFind uses cookies in a few places; this page describes the details to help users comply with privacy legislation.+VuFind uses cookies in a few places; this page describes the details to help users comply with privacy legislation. See also [[https://vufind.org/jira/browse/VUFIND-1127|VUFIND-1127]] for some related discussion.
  
 ===== Session Cookie ===== ===== Session Cookie =====
  
-The most prominent cookie used by VuFind keeps track of the user's PHP session, and it uses the standard name for a PHP session cookiePHPSESSID. Exactly what information is associated with the session identifier will depend on VuFind's configuration. In addition to normal, typical uses of the PHP session (such as maintaining the status of the current logged-in user, and temporarily holding state information during certain kinds of transactions), the session ID is also stored in the search table of VuFind's database to keep track of a temporary search history (which expires along with the user's session, unless the user opts to save searches to an account).+The most prominent cookie used by VuFind keeps track of the user's PHP session, and its name is configured through [[configuration:files:config.ini|config.ini]]'s session_name setting, defaulting to VUFIND_SESSION in recent releases of the software. Exactly what information is associated with the session identifier will depend on VuFind's configuration. In addition to normal, typical uses of the PHP session (such as maintaining the status of the current logged-in user, and temporarily holding state information during certain kinds of transactions), the session ID is also stored in the search table of VuFind's database to keep track of a temporary search history (which expires along with the user's session, unless the user opts to save searches to an account).
  
 ===== Other Cookies ===== ===== Other Cookies =====
Line 11: Line 11:
 A few other cookies may be used at times: A few other cookies may be used at times:
  
 +  * loggedOut - This cookie may be set when a user logs out of VuFind, to help avoid a situation where a user would otherwise be automatically and instantly logged back in.
 +  * language - This cookie tracks the user's currently selected language preference.
   * ui - The currently-selected theme (for example, to allow toggle between "standard" and "mobile" interfaces).   * ui - The currently-selected theme (for example, to allow toggle between "standard" and "mobile" interfaces).
 +  * vfup* - Several cookies prefixed with "vfup" may be set to keep track of settings during VuFind's upgrade procedure. These are only used for work by VuFind's system administrator and will not affect "regular" users at all.
 +  * vufind_cart / vufind_cart_src - These cookies track items that the user has placed in their "Book Bag."
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/architecture/cookies.1448908836.txt.gz · Last modified: 2015/11/30 18:40 by demiankatz