How to get last session id in PHP
Answers
Answered by
1
Answer:
hey mate
Explanation:
Before getting a session id you need to start a session and that is done by using: session_start() function. Now that you have started a session you can get a session id by using: session_id().
Answered by
1
Answer:
hy
Explanation:
session_id() is used to get or set the session id for the current session. The constant SID can also be used to retrieve the current name and session id as a string suitable for adding to URLs. See also Session handling.
mark it as brilliant list ✌
Similar questions
Math,
5 months ago
History,
5 months ago
Science,
5 months ago
English,
11 months ago
Political Science,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago