Click here to Skip to main content
14,734,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am having a web application...(say parent)
In that application i open one of the web page through JavaScript window.open method in another window..(say child).
In that(child) window i search for a data in database ..it takes two minutes to get that data through database.
in the mean time if i try to work on the (parent) window...the requests get pipelined ....only when i get the response on the child window then only my request from parent window gets pipelined.

What should i do..?..
multithreading or delegates or any other...
help me out.
any suggestions/clarifications are welcomed
Posted
Comments
   
No, no, what multithreading..? These windows are totally independent, each works with a separate HTTP request.
Perhaps I (or someone else) could answer if you explain the processing and relationship between the data in both window. But the background is: HTTP limits you badly, by its nature.
—SA
vaibhav mahajan 22-Jan-13 3:24am
   
well both windows are independent..they don't have any data relation in them....(only database is common).....when i work on child window and search for data(it takes quite a lot time )...in the mean time when query is processing...any request made on parent window is entertained only after child window gets data.

1 solution

What do you mean by pipelined?

Anyways, if the parent page is dependent on what is happening on the pop up, you can make it modal dialog so that users cannot access the other page till operation is completed on pop up.
   
Comments
vaibhav mahajan 22-Jan-13 3:25am
   
well both windows are independent..they don't have any data relation in them....(only database is common).....when i work on child window and search for data(it takes quite a lot time )...in the mean time when query is processing...any request made on parent window is entertained only after child window gets data.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900