documentation Plone5
stable
Introduction
Quickstart
Working with Content
Adapting & Extending Plone
Installing, Managing and Updating Plone
Developing for Plone
Developing add-ons for Plone
Programming with Plone
Getting started
HTTP serving and traversing site data
Views, viewlets and layers
Content management
Models, forms, fields and widgets
ZODB, persistency and transactions
Functionality and features
Queries, search and indexing
Internationalization (i18n)
Users and members
Security
Sessions and cookies
Sessions
Cookies
Status messages
Login and logout
Images
Syndication
Miscellaneous information
Debugging
Writing tests
Plone style guides
Importing content from other sources
Tutorials
Selected Plone core package documentation
Appendices
About this documentation
License for Plone Documentation
Asking for help
documentation Plone5
Docs
»
Developing for Plone
»
Programming with Plone
»
Sessions and cookies
Edit on GitHub
Sessions and cookies
ΒΆ
Sessions
Introduction
Setting a session parameter
Getting a session
Getting session id
Initial construction of session data
Deleting session data
Session data and unit testing
Using Plone authentication cookie in other systems
Exploring Plone session configuration
Cookies
Introduction
Reading cookies
Setting cookies
Modifying HTTP response cookies
Default Plone cookies
Session cookie lifetime
Sanitizing cookies for the cache
Signing cookies
Status messages
Setting a status message
Rendering status message style by hand-crafted HTML
Login and logout
Introduction
Authenticating the user
Post-logout actions
Entry points to logged in member handling
PAS cache settings
Login as another user (“sudo”)
Single Sign-On and Active Directory
Preventing duplicate logins from different browsers