Skip to content
Paul Moeller edited this page Oct 30, 2014 · 3 revisions

Agent.Cookie: Cookies and Authentication

Incoming HTTP Cookie processing is done when the Dispatcher creates the HTTP Request. Once the cookie is decrypted and parsed, any module which registered with HTTP Cookie receives a callback to do additional processing.

Model.UserLoginForm uses the cookie values to load the user from the database and validate their password. If successful, the HTTP Request auth_user is set.

Cookie sequence diagram (Click for larger view)

Implementation

Clone this wiki locally