terryds Posted June 21, 2013 Share Posted June 21, 2013 I'm a little confused about session_id. What is the use of session_id ? Can you give me the practical examples ? Link to comment Share on other sites More sharing options...
niche Posted June 21, 2013 Share Posted June 21, 2013 I've never used it. However the manual suggests it's like any other id, a unique identifier for a table row. In other words a quick way to target unique data in a table. http://php.net/manual/en/function.session-id.php Link to comment Share on other sites More sharing options...
justsomeguy Posted June 21, 2013 Share Posted June 21, 2013 The session ID is what links a particular user to a particular session on the server. The session ID is what gets set in the session cookie. You typically don't need to change it, PHP will generate a new session ID whenever you start a new session. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now