Click here to Skip to main content
12,298,267 members (52,522 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#2.0 C# ASP.NET Javascript , +
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 21-Jan-13 19:49pm
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160525.2 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100