Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessionid showing in URL initially


andrew71

Recommended Posts

Posted

Today I encountered a problem that I haven't seen before.

 

Someone posted a link to a product in my store which contained a sessionid (oscid). Subsequently someone on that forum said they couldn't browse the site through that link until they cleared our cookies off their computer.

 

Browsing my site normally, the sessionid only appears in the URL on the first product or category that someone clicks. After that it disappears and everything carries on as normal.

 

Is there a way to suppress the sessionid from appearing initially in the URL to stop this kind of thing from happening again?

 

Any help would be appreciated.

Posted

you can set force cookies to true in your admin under configuration >> session

Posted
you can set force cookies to true in your admin under configuration >> session

 

Thanks for the quick reply. I've done that and can see that it works.

 

One question though - Now, if a customer has disabled cookies, they are unable to add anything to the cart as they get the "cookies must be enabled" message. Is this an open and shut case, either I live with the sessionid in the URL or run the risk of losing customers who don't want to enable cookes?

Posted

There are some session "suppression" mods but they all have some flaws too...

 

Especially now that google has started to index forms....

 

 

The most widely used way, is to have force cookies set to false but to have Prevent Spider Sessions set to true

 

and always have an updated includes/spiders.txt file at your site

 

This prevents any known spider from getting and indexing sessions at your site.

 

(You and all human visitors will still get the sids on the 1 to 3 first clicks though)

Archived

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

×
×
  • Create New...