Beginner PHP
Q26 / 100

What is the purpose of PHP sessions?

Correct! Well done.

Incorrect.

The correct answer is B) To store user-specific data on the server across multiple requests

B

Correct Answer

To store user-specific data on the server across multiple requests

Explanation

Sessions store data server-side across requests. Start with session_start() and store data in $_SESSION. A session ID is stored in a cookie.

Progress
26/100