Hi, You can have a Map<client id,last state>
Thanks, Tarun On Thu, Sep 13, 2012 at 12:29 AM, Vivek Goel <[email protected]>wrote: > Hi, > My application process is divided into three steps and every step depends > on the previous state. > Is there a way to keep one-one mapping object on server with client? So I > can keep a client state on server side. > > What I want to do. > > 1. Client sends a request foo state1 . Server create a new object Foo > with default state and do some processing return result of processing to > client and store state on server. > 2. Based on state1 result client do some processing and it send state2 > to server. Now server action on state2 is depending on the state1 > stored on > the server of the same client. > > > regards > Vivek Goel >
