title: How to track users location for In-house symfony2 app?
body: <p>Im building an In-House only web application based on Symfony2 and Sylius.  My company has 4 different offices with static IP addresses, and I want to track which office a user is operating out of.  Some employees move to different locations on different days, some users have laptops that travel from location to location within a day too.  Location will need to be referenced for almost every page view involving writing to the database ( the application needs to know what location an event is happening at ).</p>
  
  <p>Im looking for suggestions as to how to best store and reference this info.  I will have a static list of IP addresses and offices they correspond to. This list can live in yml or a database table  ( we anticipating adding locations at once a year pace, so editing this list can be a manual task ).  Should this be something I just store in a session, or lookup every page load via $container->get('request')->getClientIp() in all my controllers, or create a Symfony2 ROLE and assign it with the  user on login, or ?  Other suggestions how to best accomplish this? </p>
  
  <p>Im very new to Symfony2 still, so if there is an obvious place for this kind of logic, my apologies... I figured it would be somewhat unique since most public facing web-apps would not and perhaps in many cases should not track IP addresses the way I need to in this case... Thanks in advance.</p>