learning_php Posted March 24, 2010 Share Posted March 24, 2010 If I have a form in PHP and if it being accessed simultaneously by more than one user, how it is handled? Do I open new session? How can I store the user info for all of them in MySQL? Thank you! Link to comment https://forums.phpfreaks.com/topic/196323-newbie-form-question/ Share on other sites More sharing options...
premiso Posted March 24, 2010 Share Posted March 24, 2010 It has handled how you code it to be handled. As for the session, if session_start is on the page the session file is created with the automatically generated session_id that php generates and is stored in the session directory. As for MySQL, the time it takes to process a query it is very doubtful that multiple users on the page would matter, especially since it is very unlikely that they would both be working on the exact same data (manipulating it) at the same time. But as stated, it is also how the code is coded and the scope of how many users. Link to comment https://forums.phpfreaks.com/topic/196323-newbie-form-question/#findComment-1030899 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.