Secure > Session management


Use cookies for session management

Use the Configuration Manager to enable cookies for session management.


Procedure

  1. Open the Configuration Manager

  2. Select WebSphere Commerce > node_name > Commerce > Instance List > instance > Instance Properties > Session Management.

  3. Select the appropriate session values.

    Option Description
    Cookie acceptance test Select this check box to check if the customer's browser accepts cookies for a site that only supports cookies.
    Cookie session manager Select whether you want WebSphere Commerce or WebSphere Application Server to manage the cookies. The default is WebSphere Commerce.

    • A WebSphere Application Server session cookie is based on the servlet HTTP session standard. WebSphere Application Server cookies persist to memory or to the database in a multinode deployment. For more information, see the Session management supporttopic in the WebSphere Application Server Information Center.

    • A WebSphere Commerce session cookie is internal to WebSphere Commerce and does not persist to the database.

  4. Click the Advanced Tab. Select the appropriate session values.

    Option Description
    Cookie path Specifies the path for the cookie, which is the subset of URLs to which a cookie should be sent. Usually, this field should not be altered. For details on cookie paths, see Netscape's Cookie Specification and RFC 2109.
    Cookie domain Specifies a domain restriction pattern. Usually, this field should not be altered. A domain specifies the servers that should see a cookie. By default, the cookies are only sent back to the WebSphere Commerce Server that issued them. By default, cookies are returned only to the host that saved them. Specifying a domain name pattern overrides this. The pattern must begin with a dot and must contain at least two dots. A pattern matches only one entry beyond the initial dot. For example, ".ibm.com" is valid and matches "a.ibm.com" and "b.ibm.com" but not "www.a.ibm.com". For details on domain patterns, see Netscape's Cookie Specification and RFC 2109.

  5. Click Apply.

  6. Close the Configuration Manager.

  7. Restart the WCS instance.


+

Search Tips   |   Advanced Search