Category: Phalcon Protocol

  • Phalcon Responses

    In Phalcon when any request is generated, the user provides the manual response or the response is given by controller. Response file is generated under Phalcon\Http\Response. Http responses are usually composed by headers and body. Example Output Methods for Response Methods Description public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector public getDI () Returns the internal…

  • Phalcon Cookie Management

    Cookie is a small text file stored by browser on user system. Cookies were designed to be a reliable mechanism for websites to remember stateful information or to record the user’s browsing activity. Phalcon\Http\Response\Cookies is the directory where cookies are stored. Cookie management helps in storing cookies under the above directory during the request execution and is…