Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed documentation for Session time limits #365

Open
EstherChristopher opened this issue Oct 30, 2023 · 8 comments
Open

Proposed documentation for Session time limits #365

EstherChristopher opened this issue Oct 30, 2023 · 8 comments
Labels
content Site content changes / improvements

Comments

@EstherChristopher
Copy link

EstherChristopher commented Oct 30, 2023

Sessions

A session refers to the interactive period during which a user is active on their page. When a user logs into their page, a session is created. However, sessions are not infinite. If the user is inactive for a period exceeding the session time limit, their session will expire.

If the user remains active and interacts with their page for the duration of the defined session time limit, their session will remain valid.
Sessions are stateful. This means that information about the user's activities and data is saved while on their page.

Session time limits

Session time limit is the maximum time that a user can be inactive from their page after which they are logged out. This means that you will be logged out after two weeks of inactivity

The set time limit for each user is two weeks, which is expressed in seconds (1209600).
A two-week time limit is an appropriate measure to prevent security risks. It helps to minimize the risk of unauthorized access if a user leaves their session unattended on a shared or public computer. It also ensures that user data and access are protected.

A logout notification will be sent if you reach the session time limit, alerting you that you've been logged out. To continue your activities, you can simply sign in to gain access again.

The user’s last work is also automatically saved to prevent data loss if the session expires.

Authoring tools should not impose time limits on authoring sessions, or they should automatically save the work of authors. This is in consideration for authors who may have physical or cognitive disabilities and need more time to complete their authoring tasks.

@laymonage
Copy link
Member

laymonage commented Oct 30, 2023

Thank you, but sessions in Wagtail are provided and configured through Django's session framework, which can be customised by developers. It is not a Wagtail feature, thus we do not need to document this.

@laymonage laymonage closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2023
@EstherChristopher
Copy link
Author

Ohh, it was provided to me as a Wagtail feature that needs documentation.

@laymonage
Copy link
Member

Hmm, I might've missed something as there's also #352. Did Thibaud or someone specifically mentioned somewhere that this needs documentation?

@EstherChristopher
Copy link
Author

Yes. First, Thibaud sent it to me. Second, it's also part of the accessibility features that need documentation on this list:https://gist.github.com/thibaudcolas/c48b0b4cf8e7966cd09d22677ab63173#a421-describe-accessibility-features

Also, since the final application is closed now, I can take a more thorough look at it and send in another draft.

@thibaudcolas thibaudcolas reopened this Oct 30, 2023
@thibaudcolas
Copy link
Member

thibaudcolas commented Oct 30, 2023

Yes :) Django doesn’t have documentation of things like this for end users as far as I know, so we need it in our docs because it affects Wagtail users. If Django did have docs for this we could reference them with a link but I’d expect it’s simpler for us to just write our own content.

Here are requirements on time limits for future reference: A.3.2: (For the authoring tool user interface) Provide authors with enough time..

@laymonage
Copy link
Member

Ah, OK, sorry for the mistake. Thank you both for clearing this up!

@EstherChristopher
Copy link
Author

Yes :) Django doesn’t have documentation of things like this for end users as far as I know, so we need it in our docs because it affects Wagtail users. If Django did have docs for this we could reference them with a link but I’d expect it’s simpler for us to just write our own content.

Here are requirements on time limits for future reference: A.3.2: (For the authoring tool user interface) Provide authors with enough time..

Thanks for this resource.

@EstherChristopher
Copy link
Author

Ah, OK, sorry for the mistake. Thank you both for clearing this up!

Sure.

@EstherChristopher EstherChristopher changed the title No documentation for session time limits No documentation on session time limits Nov 2, 2023
@EstherChristopher EstherChristopher changed the title No documentation on session time limits Proposed documentation fo Session time limits Nov 7, 2023
@EstherChristopher EstherChristopher changed the title Proposed documentation fo Session time limits Proposed documentation for Session time limits Nov 7, 2023
@thibaudcolas thibaudcolas added the content Site content changes / improvements label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Site content changes / improvements
Projects
None yet
Development

No branches or pull requests

3 participants