Perad Posted May 3, 2007 Share Posted May 3, 2007 I really don't understand the concept of session id's, i have looked on the php site and have found little to help my understanding. My question is about unique sessions. If i have this. session_register(user_logged_in); Will every user session be unique or will they all be sharing the same session? Link to comment https://forums.phpfreaks.com/topic/49777-session-question/ Share on other sites More sharing options...
pocobueno1388 Posted May 3, 2007 Share Posted May 3, 2007 I don't think you can share sessions between computers, so the session doesn't have to be unique...although it would be easier to register their userID as the session, then you will be able to distinguish who each individual user is, and make queries based on that. Link to comment https://forums.phpfreaks.com/topic/49777-session-question/#findComment-244180 Share on other sites More sharing options...
pocobueno1388 Posted May 3, 2007 Share Posted May 3, 2007 Oh, you are also using the old way to create a session...use this format: $_SESSION['id'] = "whatever"; Link to comment https://forums.phpfreaks.com/topic/49777-session-question/#findComment-244181 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.