Guest Posted September 15, 2010 Posted September 15, 2010 I recently noticed that the urls on my site had .?osCid yada yada on the end of them. After doing some research I was able to fix it by setting the correct cookie domain in the config file. I am noticing now that if you goto my site the first url will have the osCid crap and if you click on something else they then disappear. Recently I went to my site and it took like 15 clicks before the osCid crap disappeared. Does anyone have any idea about this?
♥mdtaylorlrim Posted September 15, 2010 Posted September 15, 2010 As I recall, and realize that at my age my recollection is minimal now, a usable sessions directory together with Prevent Spider Sessions, and Recreate Sessions set to True and all others set to false may help this. And be sure not to have the www or http in the cookie domain. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted September 15, 2010 Posted September 15, 2010 Joe, Read this: OSCID, why you must not lose it Chris
chadcloman Posted September 15, 2010 Posted September 15, 2010 He's got the cookie stuff working -- it just takes a while for it to take effect. Any ideas why that's the case? Check out Chad's News.
Guest Posted September 15, 2010 Posted September 15, 2010 "As I recall, and realize that at my age my recollection is minimal now, a usable sessions directory together with Prevent Spider Sessions, and Recreate Sessions set to True and all others set to false may help this." Recreate Sessions caused my shopping cart to not fill. Add product - your shopping cart is empty "And be sure not to have the www or http in the cookie domain." So what goes in there? mydomain.com? Thanks, Joe
♥mdtaylorlrim Posted September 15, 2010 Posted September 15, 2010 "And be sure not to have the www or http in the cookie domain." So what goes in there? mydomain.com? Not mine. Yours. And that will likely fix your products adding to the shopping cart, too. You are not forcing cookie usage, are you? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted September 16, 2010 Posted September 16, 2010 Here is a new one. I did get it working though. I have connectorsupply.com in the cookie domain and session settings All False except Prevent Spider sessions True This is the Strange thing. I have 2 websites hosted on my server. They both run OSC V2.2 RC2A. They each have their own IP. Now. I set www.connectorsupply.com up with the settings above and it works fine. If I set the www.hidlook.com up with the cookie domain hidlook.com it will Get the categories from www.connectorsupply.com. The website will all be www.hidlook.com but the categories in the categories section on the site will be the categories from www.connectorsupply.com WTF is up with that? So i used the ip for the cookie domain on www.hidlook.com to prevent that from happening. But this does not seem right. Can anyone help?
♥mdtaylorlrim Posted September 16, 2010 Posted September 16, 2010 Here is a new one. I did get it working though. I have connectorsupply.com in the cookie domain and session settings All False except Prevent Spider sessions True This is the Strange thing. I have 2 websites hosted on my server. They both run OSC V2.2 RC2A. They each have their own IP. Now. I set www.connectorsupply.com up with the settings above and it works fine. If I set the www.hidlook.com up with the cookie domain hidlook.com it will Get the categories from www.connectorsupply.com. The website will all be www.hidlook.com but the categories in the categories section on the site will be the categories from www.connectorsupply.com WTF is up with that? So i used the ip for the cookie domain on www.hidlook.com to prevent that from happening. But this does not seem right. Can anyone help? You have the configure.php files conflicting. You cannot use the same database for both sites. Check your configure.php files. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted September 16, 2010 Posted September 16, 2010 You have the configure.php files conflicting. You cannot use the same database for both sites. Check your configure.php files. nope- different domain names, different ip address, different usernames for dbase Anything else?
♥mdtaylorlrim Posted September 16, 2010 Posted September 16, 2010 nope- different domain names, different ip address, different usernames for dbase Anything else? Username makes little difference. You can have more than one username access a db and one username access multiple db's. This is what you are concerned with... define('DB_SERVER', 'localhost or hostname'); <-------- here define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'database'); <---------------- and here define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'sessions'); Did you build one of your sites off the data of the other? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
♥mdtaylorlrim Posted September 16, 2010 Posted September 16, 2010 Also, just occurred to me, does your site answer to both the www.domain.com and domain.com FQDN's? If the DNS points to the machine but the httpd does not answer then the cookie domain info must be very specific. If your httpd is only set up for www.domain.com then the cookie domain must be www.domain.com And even though you have separate ip address for each site the machine database is shared by both sites. Be sure you have different database names for each site. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
satish Posted September 17, 2010 Posted September 17, 2010 I recently noticed that the urls on my site had .?osCid yada yada on the end of them. After doing some research I was able to fix it by setting the correct cookie domain in the config file. I am noticing now that if you goto my site the first url will have the osCid crap and if you click on something else they then disappear. Recently I went to my site and it took like 15 clicks before the osCid crap disappeared. Does anyone have any idea about this? Just set force cookies to true. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Guest Posted September 18, 2010 Posted September 18, 2010 the db_server is the IP address The db_database is the database name on both config files are set up right they each have a different ip and different database name. It has to be something with the HTTPD file im just not proficient enough to figure it out. Joe
satish Posted September 18, 2010 Posted September 18, 2010 the db_server is the IP address The db_database is the database name on both config files are set up right they each have a different ip and different database name. It has to be something with the HTTPD file im just not proficient enough to figure it out. Joe This will happen if you connect to the wrong data base(there are two config file per site one in user and other in admin). As all categories and products are populated in data base. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Guest Posted September 18, 2010 Posted September 18, 2010 I dont know how much clearer I can make this! The Config files are all using the correct settings, I have checked them a million times. Both configs! The problem lies elsewhere, I think MDTAYLORLRIM is on to something, it has to be the HTTPD Joe
Guest Posted September 18, 2010 Posted September 18, 2010 Got it fixed. Has something to do with the sites using the same category cache. Turned off the cache on www.hidlook.com and now everything is working properly. Joe
Recommended Posts
Archived
This topic is now archived and is closed to further replies.