Codeigniter what is the point of storing session data in the cookie ONLY? [duplicate]
问题 This question already has answers here : Why does codeigniter store its sessiondata in a cookie? (4 answers) Closed 6 years ago . all CI users know that by default sessions are stored in cookies. But what exactly is the point of this implementation? I really can't find a good reason. OK, in a shared server people might gain access to the session files but what about the client side? I could change the data in the cookie as well and being a "one-way" method how do I even validate the data in