Store the User information in a object on each load or grab the info when action is made
<p>I have a Session which contain the "user id"</p>

<p>I have some information stored in the user table (that I need to grab)
The question is If I should grab all data and put it in a object on each request or just make the query when an action is made?</p>

<p>Example #1</p>

<pre><code>//Update Password

//a user object contain all data from users table...

if ($user-&gt;password == $new_password) {
    $errors[] = 'You can\'t choose the same password!';
}
</code></pre>

<p>Example #2</p>

<pre><code>//Update Password

//$current_password = query password and fetch

if ($current_password == $new_password) {
//...
}
</code></pre>

<p>Etc...</p>
