Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting rid of osCid for "links' page on home page HTML


the_spindoctor

Recommended Posts

Posted

Is there a way to get rid of the osCid that tags the html on my home page for the "links" page?

 

href="http://www.MyStore.net/links.php?osCsid=7d8ca43420a43f89add848419ccc0e28">Link</a><br><tr><td class="raq">»</td><td><a

 

I'm trying to use a program that aids in link building but it will not recognize my links page on the home page because of the osCsid tag.

 

Is there some way to get rid of this?

 

Thanks for any help

Posted
Is there a way to get rid of the osCid that tags the html on my home page for the "links" page?

 

href="http://www.MyStore.net/links.php?osCsid=7d8ca43420a43f89add848419ccc0e28">Link</a><br><tr><td class="raq">»</td><td><a

 

I'm trying to use a program that aids in link building but it will not recognize my links page on the home page because of the osCsid tag.

 

Is there some way to get rid of this?

 

Thanks for any help

 

The osCsid should only persist for one or two clicks.

 

If it persists after this then your configuration is wrong.

Posted
The osCsid should only persist for one or two clicks.

 

If it persists after this then your configuration is wrong.

 

I'ts persisted for more than 5 months.

 

What configuration should I check?

Posted
I'ts persisted for more than 5 months.

 

What configuration should I check?

 

post the first 9 defines in catalog/includes/configure.php

 

Use mysite.com if you don't want to reveal your site to the public

Posted

These?

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

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/');

Posted
These?

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

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/');

 

No ..

 

You seem to have misunderstood the first 9 defines

 

You missed out the first two

Posted
No ..

 

You seem to have misunderstood the first 9 defines

 

You missed out the first two

 

If this is not correct, then I really am lost (and not very knowledgeable in this area anyways) This is from the online files of the public_html/includes/configure.php file

 

/ Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

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/');

Posted
If this is not correct, then I really am lost (and not very knowledgeable in this area anyways) This is from the online files of the public_html/includes/configure.php file

 

/ Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

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/');

 

Ok the first 9 should look as follows: -

 

  define('HTTP_SERVER', 'http://www.mysite.com');
 define('HTTPS_SERVER', 'https://www.mysite.com');
 define('ENABLE_SSL', true);
 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', '/');

 

Then at the very bottom you should probably have (certainly if shared hosting)

define('STORE_SESSIONS', 'mysql');

 

The https url may differ dependent on how you set up your certificate.

Posted
Which may be part of the problem as I had a "professional" set it up for me, but they are located on a different continent than I.

 

Well just change it to what I said. See where we go from there.

Posted

They are still there after the change, but if the site is refreshed 2-3x's then the osCsid seems to go away. However, as soon as you return to the site, it is back. The problem is trying to submit the site to a link site that will not accept the osCsid attached to the "links.php" html text.

Posted
They are still there after the change, but if the site is refreshed 2-3x's then the osCsid seems to go away. However, as soon as you return to the site, it is back. The problem is trying to submit the site to a link site that will not accept the osCsid attached to the "links.php" html text.

 

That is the nature of sessions, the osCsid MUST exists when you enter the site .. so that a user gains a session . . after one or two clicks it should disappear which means the session has been stored.

Posted

FWR - First let me thank you for all of your help. Above and beyond call of duty.

 

Is it just the nature of the osCommerce program to do this with sessions? There is no way to avoid it?

Posted

you can force cookie usage which will take out the oscid but you will then require your customers to have cookies enabled.. I do have them enabled on my site, but for a few more reasons than just the sid.

 

there are some contributions called SID killer.. i have not done too much research on it, but you might want to look into the contributions

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

If you are inputting those links, they can be manually removed by deleting the osCsid part of the link.

 

Example:

 

www.your_site.com/product_info.php?products_id=10&osCsid=daqp592645231xzltqvi7

www.mystore.com/index.php?osCsid=675983tf97ujy89ad31xzltqoowqg45n3

www.MyStore.net/links.php?osCsid=7d8ca43420a43f89add848419ccc0e28

 

You would be submitting something like this

 

www.your_site.com/index.php

www.mysite.com/product_info.php?products_id=102

www.MyStore.net/links.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...