clickit has asked for the wisdom of the Perl Monks concerning the following question:
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 "$_"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why cookies do not work on some users' windows PC?
by davidrw (Prior) on Feb 26, 2006 at 14:45 UTC | |
|
Re: Why cookies do not work on some users' windows PC?
by spiritway (Vicar) on Feb 26, 2006 at 23:25 UTC | |
by clickit (Initiate) on Feb 27, 2006 at 00:04 UTC |