Bug 25362 - Code to create CGISESSID should be in function
Summary: Code to create CGISESSID should be in function
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-04 01:01 UTC by David Cook
Modified: 2025-07-03 01:38 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2020-05-04 01:01:47 UTC
I found 12 difference instances where we create the CGISESSID cookie, and each one has its own invocation that needs to be updated when you want to change that cookie.

It would be better if we wrapped the cookie creation in a function.
Comment 1 David Cook 2025-07-03 01:38:43 UTC
When we do this, it'll also be easier to sign that cookie with a crypto key...