Q. Which method is used to start a session in PHP?

  • (A) session_open()
  • (B) session_start()
  • (C) start_session()
  • (D) open_session()
πŸ’¬ Discuss
βœ… Correct Answer: (B) session_start()
Explanation: session_start() is used to begin a new session or resume an existing one.
Explanation by: Rati Dubey
session_start() is used to begin a new session or resume an existing one.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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