A

Admin • 832.27K Points
Coach

Q. How do you access the current session ID?

  • (A) session_id()
  • (B) get_session_id()
  • (C) $_SESSION['id']
  • (D) current_session()
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.