Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
| Tutorials - How To Create a Dynamic XML “Smart Document” |
Page 2 of 3 |
What if we would like to be able to track, not just how many times the document has been viewed, but how many times it has been viewed by each person that has seen it? This can be accomplished by passing the appropriate user name into the document and then incorporating it into the persistence logic.

By using the user name as our persistence key, we can ensure that a separate count is kept for each user.
|
|
|