Loading XML into the grid using an ASP page

This is more of an architecture question rather than a technical ‘how do I’ question.

Currently I have a dhtmlxGrid displaying a list of records from each module in my classic ASP application. When a user clicks on a row in the grid it loads up that record a corresponding form. This list of records is an XML string generated from a VB6 DLL function, which gets spliced into the HTML when the ASP is processed. This can lead to an XML string thousands of characters long right in the middle of my HTML - I can’t help but feel this isn’t the best for performance.

I know it is possible to load data into the grid using another file to generate the XML, indeed I could just move the call to the DLL function to another ASP page and then output the string. What I’m wondering is how this will work in a multi-user environment?

For example, personA loads one page with the grid, personB then loads a different page with a grid (but a different set of records in the grid). When personA scrolls the grid, won’t they then see the wrong data because the grid is now looking at the XML generated for personB?

If anyone knows of an even better way of designing this, I’m all ears.

Thanks in advance.