This is a discussion on session id in URL within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; We just uploaded our new website at www.totallycustomtruck.com . The first thing I noticed was the session id posted in ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| We just uploaded our new website at www.totallycustomtruck.com . The first thing I noticed was the session id posted in the URL. When we tested the shopping cart at www.truckimprovement.com , we noticed the session id would appear only on the first linked page, after that it would drop off. In the admin panel, we have all "use search engine safe urls" set to true. The session options are set to /tmp, false, false, false, false, true, true. What do we need to do now? |
|
#2
| ||||
| ||||
| The key is in the proper designation of files and urls in the configure.php file. Some are meant to be relative and others must be absolute. Thanks for looking and 'hey' to all who intended to write!
__________________ will work for foo! |
|
#3
| |||
| |||
| So wait, you got 'search engine safe url's' to work???? That's sweet. Pass this along to msaek with EXACTLY what you changed so he can put it in 1.8 or a patch to 1.7. There are ALOT of us that want that feature to work! Thanks |
|
#4
| ||||
| ||||
| <?php /* THIS IS THE FILE /catalog/includes/configure.php osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 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://www.yourstoreurl.com'); // this must be your full URL with NO ending forward-slash this is your base URL define('HTTPS_SERVER', 'https://yourSSL_URL.com'); // this must be your full secure URL with NO ending forward-slash this is your base SSL URL : e.g. our store shares SSL and is hosted by https://SSL_host.com (not real name) access to our shared SSL is https://SSL_host.com/our_store.com/ -- in this section only register https://SSL_host.com as the base SSL URL define('ENABLE_SSL', true); // set to true for SSL define('HTTP_COOKIE_DOMAIN', 'www.yourstoreurl.com'); // your URL without the http:// and no ending forward-slash define('HTTPS_COOKIE_DOMAIN', 'yourSSLurl.com'); // your SSL URL without the http:// and no ending forward-slash define('HTTP_COOKIE_PATH', '/catalog/'); // absloute path for catalog not including your base URL works best define('HTTPS_COOKIE_PATH', '/yourstoreurl.com/catalog/'); // absloute path for SSL not including base URL works best define('DIR_WS_HTTP_CATALOG', '/catalog/'); // absloute path for catalog not including your base URL define('DIR_WS_HTTPS_CATALOG', '/yourstoreurl.com/catalog/'); // absloute path for SSL not including your base URL // the remaining items are left in default configuration ----------------------------------------- define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); 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', 'pub/'); define('DIR_FS_CATALOG', '/home/virtual/site33/fst/var/www/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection --- set to your server ------------------------------------------------- define('DB_SERVER', 'localhost'); // localhost is preferred for most servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'yourstoreurl_db'); define('USE_PCONNECT', 'false'); // dont use pconnect if you share SSL define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' // CLR 020605 defines needed for Product Option Type feature. define('PRODUCTS_OPTIONS_TYPE_SELECT', 0); define('PRODUCTS_OPTIONS_TYPE_TEXT', 1); define('PRODUCTS_OPTIONS_TYPE_RADIO', 2); define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3); define('TEXT_PREFIX', 'txt_'); define('PPRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES ?>
__________________ will work for foo! |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| session id changes on return | ozenalp | osCommerce 2.2 Modification Help | 0 | 04-11-2006 05:10 AM |
| Session ID | andyy15 | osCommerce 2.2 Modification Help | 3 | 08-15-2004 11:40 PM |
| Session Help | doggifts | osCommerce 2.2 Modification Help | 1 | 10-21-2003 07:09 PM |
| SSL Errors, Session Cookie, Session Cache, NOVICE Problems? | hanool | osCommerce 2.2 Modification Help | 1 | 09-07-2003 11:49 AM |
| session id | thorben | osCommerce 2.2 Installation Help | 2 | 06-03-2003 06:35 AM |