title: Delphi serverside framework for managing sessions and respond with JSON to ajax requests?
body: <p>Without reinventing the wheel, what I can use to manage user sessions in a web application and being able to respond with JSON to ajax requests?</p>
  
  <p>Is there some framework (made for example with Indy components or something like this)?</p>
  
  <p>Note for bounty:</p>
  
  <p>in practice it is enough for me to have a reply with a clear example of a server application that serves json. Somehow a Delphi example of the php example mentioned <a href="http://www.sencha.com/learn/Tutorial:Creating_JSON_Data_in_PHP" rel="noreferrer">HERE</a>. (without the DB part, I want to see the basics of what does it mean to send JSON. I have basic knowledge of TIdHTTPServer.)</p>