Detect if PHP session exists

前端 未结 5 1926
星月不相逢
星月不相逢 2020-11-30 03:23

Facebook now offer subscriptions to users so you can get realtime updates on changes. If my app receives an update, I plan to store it in the database. I would also like to

5条回答
  •  孤街浪徒
    2020-11-30 03:33

    Which method is used to check if SESSION exists or not? Answer: isset($_SESSION['variable_name'])

    Example: isset($_SESSION['id'])

提交回复
热议问题