title: How to manage the session start in CakePHP when building a REST API?
body: <p>I have read this post earlier:
  <a href="https://stackoverflow.com/questions/8274867/generally-splitting-admin-and-web-app-into-two-entities">Generally splitting admin and web app into two entities</a></p>
  
  <p>Basically the gist of it is that we can combine the api side of things and the web front side of things together in one cakephp app. However, as you know REST is stateless and there is no reason to expect the client to keep a cookie or anything like that. Do you guys know when exactly does the session_start function gets trigger in CakePHP? I really want to avoid the running session_start when my API end points are hit. However, I will need session to start when my regular web fronts are hit.</p>