A method for operating a gateway for wireless mobile clients in a
messaging system, the messaging system being configured to comprise a
plurality of mobile wireless clients (1, 1', 1''), a core messaging
system (7) and at least one gateway process or gateway (5, 5', 5'')
acting as a proxy on behalf of the clients (1, 1', 1''), the method
comprising the step of the gateway (5, 5', 5'') storing a session
context (11), which session context (11) comprises the status of a
session established between the core messaging system (7) and one of the
clients (1, 1', 1''), a state of the client connection associated with
the session, and a session identifier which is unique to the session.