Is it possible for a malicious user to edit $_SESSION?

后端 未结 7 778
抹茶落季
抹茶落季 2020-12-16 00:02

I save some important info in $_SESSION, not in $_COOKIE. So, my question, is it dangerous? Or is it protected from malicious users trying to edit

相关标签:
7条回答
  • 2020-12-16 00:36

    $_COOKIE contains information that the client sent to your web server. Most commonly this is the contents of browser cookies but t could contain ANYTHING, so don't trust it.

    0 讨论(0)
提交回复
热议问题