Hi I have developed an application that people can use to search for planning applications. The way it works is that once search criteria has been selected and submit is hit, the server will save the search results in an xml file and then redirect to the view search results screen. This screen checks if the xml file exists and if it does, it displays the results, otherwise it says results have expired.
The problem is the fact that this is hosted on two servers acting as a load balancer. When the xml file is created it is saved in /ApplicationSearch/Generic/XMLtemp (virtual directory). This means that whatever server hosts the request (192.168.120.30 and 192.168.120.51) will save the xml file in its own file directory. Then if the view results page gets opened from the wrong server, it will look for a file which exists on the other server and therefore display "Search results have expired."
Overall this means if you keep hitting refresh it will eventually look at the correct server and display the results but obviously this shouldn't have to happen, help please!
|