The question is : Is retrieving data from POST/GET parameters faster than using SESSION?
Details: 1. When a user submit a form (not Ajax) from view, currently, it is directed to a script that acts as a controller. In this script, it will call session_start() at the beginning, and it will retrieve one parameter, "userid" for later use, then redirect the user to a different page using header("Location: "). The session handler is set to "files" (default). I am thinking to replace this with passing the "userid" as a POST parameter instead. Is this going to improve performance?
P.S the webapp is hitting an issue which the session data is "lost" during high traffic (~ 1000 concurrent users), however this lost is intermittent and occurred in most of the users. I am trying to optimize it within a given set of server specs.
Thanks