Secure > Session management > Use cookies for session management > Persistent sessions (Remember Me)


Enable persistent sessions globally

For the stores on the site to offer registered customers the ability to be remembered or to remember guest customers, enable persistent sessions globally.

To remember registered customers, select Enable persistent session in the Configuration Manager.

When the persistent session function is enabled, you can optionally configure the Migrate Guest Orders Event Listener node in the Configuration Manager to remember guest customers.

To enable persistent sessions globally...


Procedure

  1. Enable persistent sessions globally (only handles registered customers by default):

    1. Open the Configuration Manager.

    2. Expand the nodes in the Configuration Manager: WebSphere Commerce > node_name > Commerce > Instance List > instance > Instance Properties > Session Management.

    3. In the Session Management node, select Enable persistent session.

    4. In the Cookie Expiry (days) field enter the number of days you want the session to last for. As long as the customer logs on to the site within the specified number of days, their session will persist. A value of -1 indicates that the cookie will be removed at the end of a browser session, and a value of 0 is not supported.

  2. Optional: Enable persistent sessions for guest customers by enabling Migrate Guest Orders Event Listener:

    1. Open the Configuration Manager.

    2. Expand the nodes in the Configuration Manager: WebSphere Commerce > host > Commerce > Instance List > instance > Components > Migrate Guest Orders Event Listener.

    3. In the Migrate Guest Orders Event Listener node, select Enable Component.


What to do next

If you want the registered customers to use the persistent session features, create a check box on the logon and registration page that will enable the feature for their account. See enabling persistent sessions in a single store to create the necessary check box.


+

Search Tips   |   Advanced Search