Hi folks,
I am building up few php pages for the sake of practising MVC pattern. I have few html forms on each page, when they are submitted, user inputs are validated and error message will be displayed if validation fails, otherwise dynamic data is extracted from database and displayed on page.
What i have done is storing all error messages/dynamic data into session, which is then made available for presentattion. My concern is that is perhaps not a wise way to do it cause the server's RAM will be quickly filled up, therefore, slowing down performance, if there are large amount of users sending requests at the same time. I would like to hear other people's idea. Any inputs are highly appreciated.