All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.plugins.session.config.SpincastSessionConfig.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






SpincastSessionConfig (org.spincast:spincast-framework 1.0.0 API)












org.spincast.plugins.session.config

Interface SpincastSessionConfig

  • All Known Implementing Classes:
    SpincastSessionConfigDefault


    public interface SpincastSessionConfig
    Configurations for the Spincast Session plugin.
    • Method Detail

      • isSessionPermanentByDefault

        boolean isSessionPermanentByDefault()
        When a cookie is automatically added to a visitor, should it be permanent (10 years)? Otherwise, it will be browser-session long only (the default).
      • getSessionMaxInactiveMinutes

        int getSessionMaxInactiveMinutes()
        The number of minutes before an inactive session is deleted.

        Defaults to 7 days.

      • getDeleteOldSessionsScheduledTaskRunEveryNbrMinutes

        int getDeleteOldSessionsScheduledTaskRunEveryNbrMinutes()
        The acheduled task to delete old sessions should run every X minutes.
      • getSessionIdCookieName

        String getSessionIdCookieName()
        The name of the cookie used to store the Session id, by default.
      • getUpdateNotDirtySessionPeriodInSeconds

        int getUpdateNotDirtySessionPeriodInSeconds()
        The number of seconds between two updates of the modification date of a session, wheen the session is not dirty.

        This value must be less than getSessionMaxInactiveMinutes() or active sessions will be deleted!

        Note that when something changes on the session the session becomes dirty and is always saved and an updated modification date.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy