Single token in cookie for e-commerce site to store all data related to user in DB, is it secure?

I am building an e-commerce website using PHP, mysql, javascript.

My idea is to save one token, say a 50 character guid, to a single cookie, and use this to identify the user for each request.

I would then save other item… Continue reading Single token in cookie for e-commerce site to store all data related to user in DB, is it secure?