how session can be managed in php
Answers
Answered by
1
the session id is sent to the user when his session is created. it is stored in a cookie (called, by default, PHPSESSID ) that cookie is sent by the browser to the server with each request. the server (PHP) uses that cookie, containing the session_id, to know which file corresponds to that user.
I hope this helped.
Similar questions
Computer Science,
28 days ago
Math,
1 month ago
Math,
1 month ago
Psychology,
9 months ago
English,
9 months ago