hi
i want something like following (MVC architecture)
When user login i'm creating DOM instance. When user click on addNode Button
1 NODE get added to my XML document object
<
DOC>
<NODE>
...
...
...
...
</NODE>
</DOC>
and than again user clicks on addNode button the another node should be added to my XML Document
after 2nd click
<DOC>
<NODE>
...
...
...
...
</NODE>
<NODE>
...
...
...
...
</NODE
</DOC>
currently when i 2nd time click on addNode button it creates a new XML Document object. and than add 1 NODE to that newly created XML Doc.
i guess this is something related to session... am i right ?
so when the same user is clicking on the addNode button.
it shuld first check if Document is there or not else it should create a new document object and than add a new node to it.
This should be executed once per user session and doc shuld be available to entire application.
how it is possible ?
[ July 15, 2007: Message edited by: Bear Bibeault ]