Hi reader, I am trying my client to call lock (Object ID, int record) but every time I call the remote class lock method the memeory of object ID changes from actual to something else ie for example if the actual Object is ClientID1234&45 then if I check this object on remote side then it becomes something like this way ClientID4343&34. This is very frustrating. Can you give me some hint why this is happening ?. Thank you,
What you need is a way to identify a client on the serverside over different requests, so you can lock/unlock records on the server side for the right client. There are several ways to do this, some depend on the communication protocol you use ... think about it !
Hi Gurpreet, It's because you are using a stub on the client which will not have the same ID as the real object on the server, if you are using "this" as an ID. Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher