> It does sound like you're right. Like ZA is perhaps allowing the user's > request to go twice. This is akin to people who double click on links > because that's what they're used to doing on windows icons. However, it > seems a bit odd how it selects to do it. It seems that if it did it twice > on every call, one would expect the count to go immediately to 2 rather than > start at one. Or does the session only begin after that first item is > clicked?
The strange thing is that it is not necessarily twice. Say I buy 2 items and then I buy 5 items, it will take 7 (2+5) and add that onto the first purchase of 2 giving me 9 items (when I should only have 7). As you can imagine, the more you buy the more this problem escalates. > Have you tested this on several machines? No I haven't I'm afraid. > Mike Another thing I have noticed is that the problem only occurs if I use ONE PHP script to do everything (i.e. display and add to the cart) If I split the code accross different scripts I then get nothing added to the cart at all (even though the SID automatically gets inserted inside each form, everytime I sumbit and look at the code the SID changes). I think this is probably to do with the fact that I have used the Rewrite rule in an .htaccess file and the SID (if in the URL) is not getting passed on to the script - not sure about that though. Hmm, still scratching my head although I have the items being correctly added to the cart when no ZA and now I have them not being added at all when Privacy is on. This is after having split the code into multiple files. Don't know why it should make a difference over multiple files though? Thanks Neil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php