I wrote about the main controller a few days ago. Looking at it now, I've decided to make one tweak that was necessary and one that's purely for performance (and to keep consistent).
To review the previous version, visit:
The main change done is to the processHeaders() method. When logging in or out, it's required that the SESSION and COOKIE creation and deletion is done before any information is submitted.
This is what the processHeaders() method looked like before:
And this is what the modified processHeaders() method looks like. As you can clearly see, the logout, the SESSION based login and the COOKIE based login are all processed through this method.
This is what the processHeaders() method looked like before:
And this is what the modified processHeaders() method looks like. As you can clearly see, the logout, the SESSION based login and the COOKIE based login are all processed through this method.
Comments
Post a Comment