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! Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/196323-newbie-form-question/#findComment-1030899 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.