
Enabling persistent session for React based store
Enable persistent session and remember me features in the React-based store for a faster login to your store. This feature is available on HCL Commerce version 9.1.10.0 and greater.
Before you begin
Procedure
-
Add the following line of code to the .env file located in
the react-store workspace folder of the
store-web root directory. This line indicates that the
persistent session is enabled.
REACT_APP_PERSISTENT_SESSION=true
-
Update the PERSISTENTSESSION column in the STORE table to
enable the persistent session: