The present invention relates to the handling of context of data packet flows. As mentioned, there is a need of a coordination mechanism for the transfer of context for flows that belong to the same session. One object with the invention is to offer a coordination mechanism for the handling of context associated to flows that belong to the same session. The above-mentioned object is achieved by a context procedure, in which the total context for a session is divided into one common context and one dynamic context per IP flow. The common context is handled by a centralized control node, such as a Midcom Agent, and the dynamic context is handled by a middlebox associated to an access router. The context transfer procedures for the two types of contexts are coordinated so that an unambiguous session control is maintained.
QC 20170517