Sorry for the delay, Jason. And thanks for your constant presence in these forums. I appreciate your help!
Here is the code from the ecart :
function SetCookieInfo($theCookieString) {
$numDays = 99999;
$theDomain = "";
$thePath = "";
$cookSec = false;
if ($numDays == "") $numDays="0";
$theDate = strtotime("+".$numDays." Days");
setcookie($this->CartName."_Items", $theCookieString, $theDate, $thePath, $theDomain, $cookSec);
}
I'd like to know why it isn't working as it seems it should, however, I've changed the way my site works. I'm using the cart as a wish list, however, on logout, I save the cart to a database and on login, I create a new cookie as ecart would make it, therefore allowing ecart to access it during active use.
So it's not urgent but I'm still curious why it doesn't work.
However, I have another problem that I hope you might answer. I am saving books (title, author and description) to the wish list and when saving to the cookie, for some reason when I add to cart, any apostrophes effectively truncate what's being added to the card. Even though I manually added mysql_real_escape_string, somehow, it's still not working. So when I want to see the description displayed on the cart page, wherever there is an apostrophe—that's the end of the entry.
Any ideas?