Logoff URL
Log off a registered user.
URL structure
- http:// host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path
Parameter values
- storeId
- The reference number of the store from which the customer is logging off.
- URL
- The URL to be called when the command completes successfully.
rememberMe
Determines whether the customer should be remembered.
Example
This example logs a registered user off the system.
http://myhostname/webapp/wcs/stores/servlet/Logoff?storeId=1
Behavior
- Clears the session information for the user.
- Forwards to the URL specified in the URL parameter or to the LogoffView view if the URL parameter is not supplied.
- When you log off using this command, you log off on a per-store basis, and not a per-site basis.
Exception conditions
None.
Example
This example logs a registered user off the system, but their session will be persisted
http://myhostname/webapp/wcs/stores/servlet/Logoff?storeId=1&rememberMe=true
Behavior
- The registered user will be logged off, but is still remembered by the store.
- The session will persist, and the registered user will be able to view their shopping cart (but no other information such as order history or addresses). To view this sensitive information, the customer will need to once again log on to the store.
- By default, the Logoff command deletes the persistent session. That is, by default, rememberMe=false when logging off.
For additional information, see Persistent sessions.
Exception conditions
None.
Related concepts
Member subsystem
Persistent sessions (Remember Me)Related reference
AdminResetPassword URL
Logon URL
ResetPassword URL
RunAsUserSetInSession URL
RestoreOriginalUserSetInSession URL
Member subsystem URLs
Shopping flow URLs