PDA

View Full Version : [asp] Multiple requests on a single file on a server.



thatguythatsme
September 7th, 2007, 05:17 AM
I'm creating a flash gallery that will read its data from xml generated by ASP using a query string.

The problem is the developer I work with doesn't think is method will work correctly if more than one person is viewing the site and gallery. He thinks that if two people make different requests on this one xml file then the person who made their request slightly before the other will end up viewing the images the second person requested?

Is this correct? I'm unsure myself as my knowledge of servers are limited but I would have thought they could handle several requests on a single file at once.

Any thoughts would be greatly appreciated?

kaykays
September 9th, 2007, 05:13 AM
It depends on what you mean by generated.

If the ASP script is not actually creating and saving a XML file,
but is just outputting the XML contents, then it can
serve different requests without a problem.

However, if the ASP script is actually creating and saving a file,
and the filename is always the same, then the problem
pointed out by your developer will arise.