The “Sessions” section is used for defining information related to the sessions within the store such as whether cookies should be used, whether the application should check the visitor’s IP address or the agent, etc.
In order to start defining sessions, choose option “Sessions” from the “Configuration” menu.
Figure 126: Defining Sessions (step 1/4)
The following screen will be displayed.
Figure 127: Defining Sessions (step 2/4)
The following parameters are available inside this screen:
Session Directory – select this option from the menu in order to change the directory where sessions are stored in case they are file based
Force Cookie Use – select this option and choose option “true” in order to force the use of sessions when cookies are enabled
Check SSL Session ID – select this option and choose option “true” in order to validate the SSL_SESSION_ID on every secure HTTPS page request
Check User Agent - select this option and choose option “true” in order to validate the clients browser user agent on every page request
Check IP Address - select this option and choose option “true” in order to validate the clients IP address on every page request
Prevent Spider Sessions - select this option and choose option “true” in order to prevent known spiders from starting a session
Recreate Session - select this option and choose option “true” in order to recreate the session to generate a new session ID when the customer logs on or creates an account
Session Timeout for Front-end users – option for setting the timeout for front-end users before they have to log in again
Session Timeout for Back-end users - option for setting the timeout for back-end users before they have to log in again
In order to set any of these parameters, click on its name inside the list and the following screen will be displayed.
Figure 128: Defining Sessions (step 3/4)
Click on the “edit” button and the screen for setting the desired value will be displayed.
Figure 129: Defining Sessions (step 4/4)
Set the desired value inside this screen and click on the “update’” button in order to save the changes.