Computer Science, asked by bcsoftware, 11 months ago

How to get last session id in PHP

Answers

Answered by Anonymous
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 mysticaldimple88
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