Expose SESSION_COOKIE_NAME in configuration.py #4786

Closed
opened 2025-12-29 19:20:27 +01:00 by adam · 3 comments
Owner

Originally created by @mpalmer on GitHub (Apr 19, 2021).

Originally assigned to: @mpalmer on GitHub.

NetBox version

v2.10.6

Feature type

New functionality

Proposed functionality

It would be nice to be able to set the SESSION_COOKIE_NAME Django setting from within configuration.py.

Use case

It is sometimes necessary to change the cookie in which the session token is stored, for example due to conflicts with another cookie on the same domain.

Database changes

No response

External dependencies

No response

Originally created by @mpalmer on GitHub (Apr 19, 2021). Originally assigned to: @mpalmer on GitHub. ### NetBox version v2.10.6 ### Feature type New functionality ### Proposed functionality It would be nice to be able to set the `SESSION_COOKIE_NAME` Django setting from within `configuration.py`. ### Use case It is sometimes necessary to change the cookie in which the session token is stored, for example due to conflicts with another cookie on the same domain. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 19:20:27 +01:00
adam closed this issue 2025-12-29 19:20:27 +01:00
Author
Owner

@mpalmer commented on GitHub (Apr 28, 2021):

I've got a PR for this all ready to go, BTW; I just need this issue accepted to drop it.

@mpalmer commented on GitHub (Apr 28, 2021): I've got a PR for this all ready to go, BTW; I just need this issue accepted to drop it.
Author
Owner

@jeremystretch commented on GitHub (Apr 28, 2021):

@mpalmer all yours!

@jeremystretch commented on GitHub (Apr 28, 2021): @mpalmer all yours!
Author
Owner

@mpalmer commented on GitHub (Apr 29, 2021):

Thanks. #6307 dropped like it's hot.

@mpalmer commented on GitHub (Apr 29, 2021): Thanks. #6307 dropped like it's hot.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4786