πŸ“Š PHP
Q. How do you access the current session ID?
  • (A) session_id()
  • (B) get_session_id()
  • (C) $_SESSION['id']
  • (D) current_session()
πŸ’¬ Discuss
βœ… Correct Answer: (A) session_id()

Explanation: session_id() returns the session ID for the current session.

Explanation by: Mr. Dubey
session_id() returns the session ID for the current session.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
54
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate