According to the official documentation, it is allowed to make several test facilities in localhost, separated in different subdirectories.
This implies modifying the default settings of the cookies so that they do not conflict.
The Invision Community documentation says that this can be done through the "constants.php" file
I need to test two installations on localhost:
https://localhost/test1/
https://localhost/test2/
The parameters that I must introduce in "constants.php", I believe that they are the following ones:
-for localhost/test1:
define( 'COOKIE_DOMAIN', 'localhost' );
define( 'COOKIE_PREFIX', 'test1_' );
define( 'COOKIE_PATH', '/' );
-for localhost/test2:
define( 'COOKIE_DOMAIN', 'localhost' );
define( 'COOKIE_PREFIX', 'test2_' );
define( 'COOKIE_PATH', '/' );
My question is whether the third parameter should be
a) localhost/test1: define( 'COOKIE_PATH', '/test1' );
b) localhost/test2: define( 'COOKIE_PATH', '/test2' );