currently our web site uses icode everest standard ecommerce asp / com object software ([url removed, login to view]) which creates a sessionid (they call it a cartid) every time you visit our website, and that sessionid is embeded in the page in a querystring variable called 'cartid'. For example when you visit our site [url removed, login to view], you are immediately assigned a cartid and it is embdedded into the page on every link IE. [url removed, login to view];ic=TH42PWD7UY. The purpose of this is pretty much to keep track of the shopping cart, and so the system remembers who you are for login details, page caching, etc. This has created a big problem for us on the search engines organic listings because spiders get confused when they see these embededded cartid links (these cartid's also expire after a idle timelimit), so we need to remove them.
Currently on every link on our page it is appended with &cartid=. We need to make this cartid transparent by embededding it into a cookie instead. We need you to study our sites asp include pages (probably about 3 or 4 pages with the actual code needed) to see what will be needed to make this change so that basically we can accomplish this:
1) A visitor visits our site
2) Checks to see if they have a cookie on computer with a recent cart id.
3a) If a cookie exist with a cartid within the last 7 days then use that cartid in the cookie
3b) If a cookie does not exist within the last 7 days then create a new cartid using the com object fuction
I am attaching a few of the include asp pages that are currently used to generate this functionality on our site. There are more pages than this, but this should fairly represent the code needed to be changed.