I tested it on my Windows PC and I was able to add multiple items to my shopping cart even after leaving the shopping cart for more than an hour. However, my client complained that many of her shoppers could not add multiple items to the shopping cart when they are using windows PC. However, she claimed that the cookies worked properly with MAC. I am totally lost here! Can someone help me, please? What could have caused the problems? Thank you!($Second, $Minute, $Hour, $DayOfMonth, $Month, $Year, $WeekDay, $DayOf +Year, $IsDST) = gmtime(time + 10800); @Mth = ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', + 'Oct', 'Nov', 'Dec'); @Day = ('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'); $SetYear = 1900 + $Year; $SetDay = $Day[$WeekDay]; $SetMonth = $Mth[$Month]; $expdate = $SetDay.', '.sprintf('%02d', $DayOfMonth).'-'.$SetMonth.'-' +.$SetYear.' '.sprintf('%02d:%02d:%02d', $Hour, $Minute, $Second).' GM +T'; $file = "cart.html"; @BODY=(); open(FILE, "$file"); @BODY=<FILE>; close(FILE); $NOS=$#BODY; print "Content-type: text/html\n"; &SetCookieExpDate("$expdate"); &SetCookiePath('/'); &SetCookieDomain('.clickitpro.com'); &SetCookies("$sid-cart", "$cartnum"); print "\n"; for ($i=0;$i<=$NOS;$i++) { $_ = $BODY[$i]; print "$_"; }
In reply to Why cookies do not work on some users' windows PC? by clickit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |