Click to See Complete Forum and Search --> : Two page refresh


lysfjord
April 1st, 2003, 08:41 AM
I'm experiencing something odd with my asp programmed website. The good is pretty lengthy, so I'll just post an explanation of what I am trying to do.

I got a webpage with an Iframe in the middle. The Iframe displays an order's details, while the 'outside' part has basic order information (MemberID etc.)

On the outside part of the webpage I got links to earlier orders. When I click on it, I want both the Iframe and the outside webpage to be refreshed with the orderdetails grabbed from the database.

This is when it gets odd. I just can't get it to refresh both pages. If I simply direct the browser to the webpage that is loaded in the Iframe then it will load the order details without any problems. If I direct the browser to the webpage that has the Iframe in it, it will load the basic order information, but the webpage that goes into the Iframe with the order details just comes up with an error.

I'm pretty new to server-side scripting. So.. is there any theoretic reason to why you can't refresh two pages simultanously?

Would appreciate any help! :)

lord loh
April 4th, 2003, 01:58 AM
It has nothing to do with the Server sided things...

One soution is make use of java script on the client side and refresh the frames you like only....

Other aleternative is ....Dont use IFrames at all...

If the I frame doe not load(across slow connections they give problems...), the user is lickly to refresh...He may resubmit orders or some such thing may happen...and you must be careful of the compatability...

Hope this helps...