As other posters have mentioned the cookies contains the session id which is required to access the session. However unless you perform a
session_destroy()the actual session data can be still found on the directory which session files are stored.
If you have some other means of assigning a previous session to a user, for example if you have a database that maps ip addresses to session ids (bad idea!), then you could restore the previous session id using