Sway Posted July 24, 2003 Posted July 24, 2003 Hi, I just migrated my oscommerce version to a new hosting company and am testing it out before repointing the domain. I'm using version 2.2 I downloaded sometime last November. I'm now getting the login.lp?osCsid=f218400c47d6348d9cb62049c891e927 in the URL - but I do not in my current production version on the other hosting company? It's also asking me to relogin to when I go to certain pages? What is different - the code is the same? Here is the configure file: (I replaced domain, login/passwords with XXX's after I cut and pasted it here: <?php /* $Id: configure.php,v 1.12 2002/06/16 22:11:53 harley_vb Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://XXX/bcc'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://XXX/bcc'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/main/'); // absolute path required define('DIR_WS_IMAGES', '/bcc/main/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/usr/local/etc/httpd/htdocs/bcc/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_FS_CATALOG', '/usr/local/etc/httpd/htdocs/bcc/main/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'DOMAINNAME'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'XXX'); define('DB_SERVER_PASSWORD', 'XXX'); define('DB_DATABASE', 'XXX'); define('USE_PCONNECT', true); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
ibandyop Posted July 26, 2003 Posted July 26, 2003 Don't have an answer. 1. Is there a substantial difference in the phpinfo(); I would try to figure out where the sessions are stored. mysql or memory. 2. Is Ians SID killer installed and working ? ibandyop
Guest Posted July 26, 2003 Posted July 26, 2003 Do you have admin :arrow: Configure :arrow: Sessions :arrow: Force Cookie Use set to True? That should get rid of the Session ID in the URL. Good luck, Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.