ClientContext & GlobalContext value?

ClientContext & GlobalContext value?

Old forum URL: forums.lhotka.net/forums/t/246.aspx


SonOfPirate posted on Thursday, June 01, 2006

Can someone give me an example of how the ClientContext and GlobalContext elements are used?  I see how these objects are passed back and forth between client and server, etc. but a tangible example of how they can be used would go a long way to help me get my head around what is being done.  For instance, in the book it refers to the ClientContext object as a way to pass client-specific information to the data portal server, such as the client's culture.  However, the culture information, principal, etc. are passed as part of the DataPortalContext.  So, where do these two objects fit in?

Furthermore, is there value in having them exist simply as collections accessed through properties rather than separate objects?

Thanks in advance.

Copyright (c) Marimer LLC