i havent tried yet, but joew should be right. The marshal by ref will do everything automatically.
however, it is not considered good practise to create lots of remote objects. Are you sure that is how you wish to work?
I would suggest fetching everything that you need before you go to your client (this is sometimes faster then going through all your layers to populate the friends list)
or
create your own ISession implementor that will just direct all your calls directly to your real session object, but first go to your server.
|