I am developing a online store. There is no sign up option. So i used Ajax and PHP to keep users wishlists and carts. For that i create some text file on the server.
Is that okay, or there is better way to do that?
Second question is; if I want to delete those text files after a certain period of time automatically, is it possible?