PageData caching and manipulation

Vote:
 

Hi all.

I've sometimes found the need to in some way manipulate the PageData object retrieved from the DataFactory using CreateWritableClone(). For instance - appending to the LinkURL, changing the ParentLink, etc. To my surprise, I've noticed that if I set the LinkURL on the copy, it is also changed in the original PageData object for the entire session. But this does not happen for ParentLink, for example. Is this the cache playing tricks on me? If so, why is LinkURL cached, but not ParentLink? Why is the LinkURL being cached at all - I'm supposed to be manipulating a copy, right?

I apologize in advance if this is all newbie knowledge Wink

Cheers

/Christian 

#22248
Jul 30, 2008 14:31