thorpe, I didnt mean to say that they are slow, I was just saying that every time you drag an object, it saves to the database, and if people are draging 1 pixel at a time to try and position an object perfectly, that could be a dozen times that I am saving the position to the database when they are only moving 1 object. I wasnt sure if 100's of people doing this at the same time, if it would slow down my site at all.
goldlikesnow, thats what I was thinking. But wasnt sure if writing the cookie every time would be better than writing to the database.
The php page that the AJAX script calls will be the same size no matter if I connect to the database or write the cookie, so if there isnt much difference (speed-wise) in executing a query and writing the cookie, then wouldnt I be better off executing a query so I dont have to do it later?
Thanks!