How to initiate a session in PHP?

How to initiate a session in PHP?

1 Like

To do that, we need to call the session_start() function to initiate the session. This is going to generate a unique ID for each user.