osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

session id in URL

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-08-2004, 08:18 PM
cominus's Avatar
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cominus
Default session id in URL

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-10-2004, 11:29 PM
cominus's Avatar
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cominus
Default found the fix

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-11-2004, 11:55 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-11-2004, 05:34 PM
cominus's Avatar
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cominus
Default here is the code with comments -- hope U find this helpful

<?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'); // don’t 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 08:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax