The obvious difference is that when stored in memcache(d)
data becomes available cross the system. Sessions store data per user, though, session_id()
could theoretically be used to share this data with more users.
However, in terms of performance, speed and memory usage - is there a difference?