Q. How can you destroy a PHP session?

  • (A) session_destroy()
  • (B) session_delete()
  • (C) destroy_session()
  • (D) end_session()
πŸ’¬ Discuss
βœ… Correct Answer: (A) session_destroy()
Explanation: session_destroy() removes all data associated with a session.
Explanation by: Rati Dubey
session_destroy() removes all data associated with a session.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
97%
Success Rate