PloneDocumentation
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Sessions and cookies
  • Previous
  • Next

Warning

This version is valid for an outdated version of Plone: 3.X. Use the Version drop-down above to go to the Plone 6, Plone 5 or Plone 4 versions

  • Introduction
  • Working with Content
  • Adapting & Extending Plone
  • Managing, Administration of Plone
  • Developing for Plone
    • Developing add-ons
    • Programming with Plone
      • Programming Plone
        • Getting started
        • HTTP serving and traversing site data
        • Views, viewlets and layers
        • Content management
        • 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
    • Importing content from other systems
    • Tutorials
  • Appendices
  • About this documentation
  • License for Plone Documentation
  • Asking for help
Table Of Content

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
    • Login entry points
    • Extracting credentials
    • Authenticating the user
    • Post-login actions
    • Post-logout actions
    • Entry points to logged in member handling
    • Login as another user ("sudo")
    • Getting logged in users
    • Locking user account after too many retries
    • Hyperlinks to authenticated Plone content in Microsoft Office
    • Single Sign-On and Active Directory
    • Preventing duplicate logins from different browsers
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Sessions and cookies
  • Previous
  • Next
Further help resources:
  • Community discussion
  • Stackoverflow
  • IRC Chat
More info on the Plone project:
  • Plone Foundation
  • Success Stories
  • Providers & Consultants
About this documentation:
  • Contribute
  • These docs on Github
Download:
  • Plone
  • Plone add-ons
Plone

The text and illustrations in this website are licensed by the Plone Foundation under a Creative Commons Attribution 4.0 International license. Plone and the Plone® logo are registered trademarks of the Plone Foundation, registered in the United States and other countries. For guidelines on the permitted uses of the Plone trademarks, see https://plone.org/foundation/logo All other trademarks are owned by their respective owners. Hosted by Rackspace

This page uses Google Analytics to collect statistics. You can disable it by blocking the JavaScript coming from www.google-analytics.com.