Hi I know that sessions are in the server side , when a user logged into a site we create a session and store user data in that session , and that session ID is a unique one . if multiple users logged in to the same server sessions with unique session Id’s are created .
cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser.
in the browser cookie I have seen variables called
SID
andSSID
are those referring to servers session ID ???
or
from what parameters of the cookie , session identify this is the correct user.
**when I send a request to the server
are those id's in cookie matched with the server session id ?
my question is how the server knows this is the correct user ??
I have the idea of sessions and cookies , but there combination in not clear .
actually I have searched this for very long time , and i asked my friends and they also seems they don't have a clear picture of this
please explain the scenario , thanks in advance.