Retrieving session information with ASP.NET MVC
<p>Let's say you have an ASP.NET MVC web application with a page that is accessible to all registered users of your application.  Now this page has mostly general information, but there is also one panel that shows the current logged in user's personal information.  How do you go about implementing this?</p>

<p>My initial thought would be to have the controller read the current logged in user's ID from the session and pull the information necessary and pass that into the view.  But that seems somewhat awkward to me for some reason to pull session information from within the controller.  Is this the only way to do it?</p>
