Jump to content


This topic is now archived and is closed to further replies.


Cokies in backend and configure

Recommended Posts


What should I fill in configure.php ? in the following

  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');

and what is it for the Force the use of sessions  in backend ? Should I turn in on or off ?

Im asking because the website keep redirecting some users to the login page.



Share this post

Link to post
Share on other sites

Cookie domain should be just a domain like .oscommerce.com or forums.oscommerce.com

A cookie path of / is probably correct.  Sometimes it might be something like /catalog or similar.  In general, / is enough so long as you aren't running other web software on the same domain.  The problem that you would see then would be the two software applications confusing each other by stomping on each other's cookies.  That's when you might want to restrict the cookies to just the /catalog path. 

If you force cookies, that means that people who have cookies turned off won't work with your site.  It can occasionally fix things if the software is diagnosing cookies as disabled but they really exist.  But it is more likely to break things. 

Similar problem: 


Always back up before making changes.

Share this post

Link to post
Share on other sites