theUniC Posted November 4, 2011 Share Posted November 4, 2011 I would want to know what's the reason behind the decision of use cookies instead of server sessions. And If you're planning to move from cookies from server sessions. Thanks in advance! Christian. Link to comment Share on other sites More sharing options...
theUniC Posted November 8, 2011 Author Share Posted November 8, 2011 Nobody answers? I'm planning to move a custom Prestashop based site from cookies to server sessions, so any comments will be much appreciated! Thanks in advance! Christian. Link to comment Share on other sites More sharing options...
El Patron Posted November 8, 2011 Share Posted November 8, 2011 Server sessions won't work if you have a server cluster which may be more important as our computing resources move into the cloud. Cookies while allowing some hacker to change the cookie information does allow server cluster configurations as well as allowing your customer cart to be kept across visits. Link to comment Share on other sites More sharing options...
theUniC Posted November 9, 2011 Author Share Posted November 9, 2011 I'm not agree with that. I'm running high traffic websites that run a server cluster on the back and make use of server sessions successfully. There are many ways to get server sessions running on a server cluster by using some kind of high performance backend to store all the session data, for example Memcached or Redis. To relay on cookies to store session data it's not a good approach mainly for performance and security. So for that, I'm looking to change all the user data storage to relay on server sessions that transparently store all the session data to Redis. But I need to know if there will be some side effect. Greetings, Christian. Link to comment Share on other sites More sharing options...
Recommended Posts