Package edu.wisc.game.web

## Class ExtendedSessionManagement

- java.lang.Object
- - edu.wisc.game.web.ExtendedSessionManagement

-     public class ExtendedSessionManagement
      extends Object

  This class is used to manage extended sessions, which survive over the web server restart. This feature is used when the user checks the "remember me" button on login. The information is stored persistently in a User structure in the database,

  FIXME: Since a new cookie (with a new single-use password) is generated every time a user tries to log in, and only one such single-use password is stored, a user cannot be logged in from more than one user agent at once.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `COOKIE_NAME` |
    `static int` | `maxDays` | max lifetime of an extended session, in hours

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExtendedSessionManagement()` |

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### COOKIE_NAME

          public static final String COOKIE_NAME

      See Also:
        Constant Field Values

    - #### maxDays

          public static final int maxDays

      max lifetime of an extended session, in hours
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ExtendedSessionManagement

          public ExtendedSessionManagement()