Why does codeigniter store its sessiondata in a cookie?

前端 未结 4 886
無奈伤痛
無奈伤痛 2020-12-21 10:21

Why does Codeigniter do this? I mean isn\'t it very insecure if users can see which data is stored in their session? And and what if they change a value in the cookie?

4条回答
  •  时光取名叫无心
    2020-12-21 10:49

    check this out: https://bitbucket.org/xperez/core-session-storage-for-codeigniter

    its a wrapper for ci_session interface with native php sessions and thus works also with memcached and not DB.

    Cheers

提交回复
热议问题