ben.t Posted March 25, 2010 Share Posted March 25, 2010 I've been playing around with my site and getting stuck. I want to remove oscsid but I need to use force cookie, BUT I'm using shared SSL so I can't. Is there way to force cookies another way without oscsid? I'm an OSCommerce junkie, I love it to bits "To live is the rarest thing in the world. Most people exist, that is all." - Oscar Wilde Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 25, 2010 Share Posted March 25, 2010 If your configure files are correctly set-up, the osc sid should only show on 1 to2 of the first clicks and then disappear. To prevent search engines from getting sids, sett prevent spider sessions to true in the admin under configuration>>sessions Or just get a dedicated ip and your own ssl cert and you can use force cookies Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
ben.t Posted March 25, 2010 Author Share Posted March 25, 2010 If your configure files are correctly set-up, the osc sid should only show on 1 to2 of the first clicks and then disappear. Could you explain further about the configure files? You mean when installing osc? Or PHP ini files? I'm an OSCommerce junkie, I love it to bits "To live is the rarest thing in the world. Most people exist, that is all." - Oscar Wilde Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 25, 2010 Share Posted March 25, 2010 Could you explain further about the configure files? You mean when installing osc? Or PHP ini files? when installing oscommerce.... But they can also be manually edited....there are 2 configure files, one for the shop side and one for the admin side. includes/configure.php and admin/includes/configure.php Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
ben.t Posted March 25, 2010 Author Share Posted March 25, 2010 Thanks for that, I understand what you mean about the config files. Mine seem to be setup up correctly define('HTTP_COOKIE_DOMAIN', 'http://www.myhappytel.com.au'); define('HTTPS_COOKIE_DOMAIN', 'https://www.myhappytel.com.au'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); I read this http://www.oscommerce.com/forums/index.php?showtopic=98855&st=0 I've setup my Admin > Session correctly as well but seems that the osc sid is still not going away. Any other possible reason why I can't fix this? I'm an OSCommerce junkie, I love it to bits "To live is the rarest thing in the world. Most people exist, that is all." - Oscar Wilde Link to comment Share on other sites More sharing options...
Hotclutch Posted March 25, 2010 Share Posted March 25, 2010 Thanks for that, I understand what you mean about the config files. Mine seem to be setup up correctly define('HTTP_COOKIE_DOMAIN', 'http://www.myhappytel.com.au'); define('HTTPS_COOKIE_DOMAIN', 'https://www.myhappytel.com.au'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); I read this http://www.oscommerce.com/forums/index.php?showtopic=98855&st=0 I've setup my Admin > Session correctly as well but seems that the osc sid is still not going away. Any other possible reason why I can't fix this? The osCsid won't disappear completely, even if your settings are correct. It will still be around on the first few clicks around your store. You also need the osCsid for the correct functioning of your cart. Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 25, 2010 Share Posted March 25, 2010 define('HTTP_COOKIE_DOMAIN', 'http://www.myhappytel.com.au');define('HTTPS_COOKIE_DOMAIN', 'https://www.myhappytel.com.au'); should be: define('HTTP_COOKIE_DOMAIN', '.myhappytel.com.au');define('HTTPS_COOKIE_DOMAIN', '.myhappytel.com.au'); Then providing you are using a web browser where cookies has not been disabled... the osc sids should only show for the 1 or 2 first clicks after you arrive on the page and then disappear. Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
garnet Posted March 25, 2010 Share Posted March 25, 2010 Is there a way to get the value of OSCID to use in a script? OSC beginner Link to comment Share on other sites More sharing options...
ben.t Posted March 25, 2010 Author Share Posted March 25, 2010 should be: define('HTTP_COOKIE_DOMAIN', '.myhappytel.com.au'); define('HTTPS_COOKIE_DOMAIN', '.myhappytel.com.au'); Then providing you are using a web browser where cookies has not been disabled... the osc sids should only show for the 1 or 2 first clicks after you arrive on the page and then disappear. You are absolutely correct! All this time I thought I was a dumb ass for not getting it to disappear. When my mistake was the URL, newbie mistake. Thanks for the help and also to everyone else! Made my day I'm an OSCommerce junkie, I love it to bits "To live is the rarest thing in the world. Most people exist, that is all." - Oscar Wilde Link to comment Share on other sites More sharing options...
[email protected] Posted March 31, 2010 Share Posted March 31, 2010 You are absolutely correct! All this time I thought I was a dumb ass for not getting it to disappear. When my mistake was the URL, newbie mistake. Thanks for the help and also to everyone else! Made my day Hi, It is interesting to know that definig the ookie domain in this way can solev this problem , although I was using the same setting in my local machine:- define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); But still it didn't solve my problem .However I solved it another way :- I just installed seo url pack and got the problem solved . Just install this and everything will be fine :- http://addons.oscommerce.com/info/2823 Cheers! vs_indr vs_indr Link to comment Share on other sites More sharing options...
fan4chevy Posted May 22, 2010 Share Posted May 22, 2010 Hi, It is interesting to know that definig the ookie domain in this way can solev this problem , although I was using the same setting in my local machine:- define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); But still it didn't solve my problem .However I solved it another way :- I just installed seo url pack and got the problem solved . Just install this and everything will be fine :- http://addons.oscommerce.com/info/2823 Cheers! vs_indr I am having issue of the ?osCsid= showing. I use ultseo5 so I have the .html url showing prior to the osCsid= Here is example of what it is doing: mysite.com/country-drop-leaf-table-p-98.html?osCsid=a96b934ba56799ef8526201c70a5f1ed Here is how I have my config set: (note for example I have mysite.com url for privacy but same type of path in real config) <?php define('HTTP_SERVER', 'http://www.mysite.com'); define('HTTPS_SERVER', 'http://www.mysite.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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/mysite/public_html/mysite.com/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'private'); define('DB_SERVER_PASSWORD', 'private'); define('DB_DATABASE', 'private'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 22, 2010 Share Posted May 22, 2010 I am having issue of the ?osCsid= showing. I use ultseo5 so I have the .html url showing prior to the osCsid= Here is example of what it is doing: mysite.com/country-drop-leaf-table-p-98.html?osCsid=a96b934ba56799ef8526201c70a5f1ed define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); You're configure file is setup incorrectly. See Nick's example. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
fan4chevy Posted May 22, 2010 Share Posted May 22, 2010 You're configure file is setup incorrectly. See Nick's example. I see: Remove the www.mysite.com to just mysite.com Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 23, 2010 Share Posted May 23, 2010 I see: Remove the www.mysite.com to just mysite.com No, that's not what I meant. The two should match but in the COOKIE_DOMAIN lines they should start with a period - .www.mysite.com. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.