Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 75 Time: 06:27 - Sep 24, 2007  

sanjivsharma

How do make 2 requests from the same session?

We have legacy Web based application in which the flow is as follows:
1. From a Parent Window the user uploads a big file(say 30 MB .doc file). There are three stages this files goes through - Upload, Import, Convert. All these happen without user intervention.
2.A Child window is popped up. The Child window tries to refesh itself after every second to know whether the file got uploaded, Imported and Converted. And it reflects the same to user by corrosponding gifs which it gets from server.
The problem is there when bigger files are used and not there when smaller files are used. I think problem is because two requests are being made per session to the server. The second request (from Child window ) is not getting the attention of the server. Even though ASP.NET is supposed to take care of concurrent requests from the same session on its own at the server but somehow it is not getting through.

Categories

Answer Discussion
Tutorials

 

oracleofDelphi

Date:: Sep 29, 2007

Time:: 22:08

it sounds like you're trying to multithread an ASP.NET app.
also it will save you a huge headache knowing that your child window is a read only thread, that's a real good thing.
unfortunately, asp.net is still sequential in nature and spinning off the child window as a new window doesn't exactly cut it.
try this site for multithreading:
http://www.ftponline.com/vsm/2002_11/mag...

hope this helps!

PeterNZ

Date:: Oct 11, 2007

Time:: 22:48

My feeling is that it is not the server ignoring the request but rather the connection is the bottle neck. Just imagine, there will be packets send to the server with the doc data, the server sends confirmation packages back. On top of this you have other traffic every minute to refresh your pop up window! My main concern would be the connection.

The solution I would try would be to do the upload asynchronously. this doesn't block the main thread. And then use events and call backs from the server to notify the client of the status.

Cheers

Peter

admin

Date:: Mar 04, 2009

Time:: 09:58

The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.

The Quomon Team

admin

Date:: Mar 10, 2009

Time:: 13:36

The question has been closed.

The Quomon Team

Question Answered

This question has been closed, and points have been rewarded to the following experts:


oracleofDelphi: 35
PeterNZ: 40

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10279

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es