Mike Smith
New Member
Hi All!
Environment: IIS/WS3.1d/IE
I've got a page that works great sometimes.
The page has two frames, pageHead and pageDet. The header prompts the user for a customer and site then displays the site address and a "toolbar" of report choices the user can run for that customer/site. The tool bar is just a series of <input type="image" ...> entries inside of a table. Depending upon which image the user clicks on, a report runs and the output is displayed in the pageDet frame. Also the pageHead frame is refreshed so that the image of the selected report changes to indicate which report is active.
I've been using javascript to control the pageDet frame. Specifically:
function newSrc(vUrl) {
parent.pageDet.document.location.href=vUrl;
parent.pageDet.document.submit();
}
This function is fired on the onclick event of the image input tag.
This normally does everything I want, the report runs and the image changes. If the user selects a different customer or site then the header page redisplays with the new data and the detail page resets to the default message ("Please select an report").
The problem is that if the report returns a lot of data I will get something like:
Set-Cookie: SERVER_CONNECTION_ID= ......; Path=/scripts/WService=......
in the pageHead frame and the report output in the pageDet frame.
If I refresh the pageHead frame then I get my correct header information.
This seems to happen anytime a report takes more than 10 seconds to return the data so I assume that there is some timeout involved though I'm not sure what. Also, I use other reports elsewhere in the site (no frames) that use the same underlying queries and they work fine, even when they take 2-3 minutes to return data.
Anyone have any ideas as what is going on and how to resolve it.
Also, I'm open to any alternatives to frames as long as I can dynamically (from a DB table) create the "toolbar" and output the report data for whatever report the user chose.
TIA,
Mike Smith
Environment: IIS/WS3.1d/IE
I've got a page that works great sometimes.
The page has two frames, pageHead and pageDet. The header prompts the user for a customer and site then displays the site address and a "toolbar" of report choices the user can run for that customer/site. The tool bar is just a series of <input type="image" ...> entries inside of a table. Depending upon which image the user clicks on, a report runs and the output is displayed in the pageDet frame. Also the pageHead frame is refreshed so that the image of the selected report changes to indicate which report is active.
I've been using javascript to control the pageDet frame. Specifically:
function newSrc(vUrl) {
parent.pageDet.document.location.href=vUrl;
parent.pageDet.document.submit();
}
This function is fired on the onclick event of the image input tag.
This normally does everything I want, the report runs and the image changes. If the user selects a different customer or site then the header page redisplays with the new data and the detail page resets to the default message ("Please select an report").
The problem is that if the report returns a lot of data I will get something like:
Set-Cookie: SERVER_CONNECTION_ID= ......; Path=/scripts/WService=......
in the pageHead frame and the report output in the pageDet frame.
If I refresh the pageHead frame then I get my correct header information.
This seems to happen anytime a report takes more than 10 seconds to return the data so I assume that there is some timeout involved though I'm not sure what. Also, I use other reports elsewhere in the site (no frames) that use the same underlying queries and they work fine, even when they take 2-3 minutes to return data.
Anyone have any ideas as what is going on and how to resolve it.
Also, I'm open to any alternatives to frames as long as I can dynamically (from a DB table) create the "toolbar" and output the report data for whatever report the user chose.
TIA,
Mike Smith