how to get session variables using session id

前端 未结 4 1903
耶瑟儿~
耶瑟儿~ 2020-12-09 16:02

I have the session id of my application. now i want to get all the session variables by using this session id.

I used t

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 16:40

    $_SESSION is what you are looking for. Remember to call session_start() first. See http://php.net/session.examples.basic

提交回复
热议问题