473,396 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to execute a aspx page more than once simultanously?

Hi friends,

How to execute a aspx page more than once simultanously without using
threading?

regards,
Sivaraman.S
Nov 18 '05 #1
5 1338
The goal is ?

If you have some task to perform multiple times you could likely use an
asynchornous call to a web service or similar. Knowing the "why" may help to
raise better suggestions (likely this is not the exact same job with same
data ???)

Patrice

--

"Sivaraman.S" <Si********@discussions.microsoft.com> a écrit dans le message
de news:C5**********************************@microsof t.com...
Hi friends,

How to execute a aspx page more than once simultanously without using
threading?

regards,
Sivaraman.S

Nov 18 '05 #2
hi Patrice,

Thanks for ur suggestion. The actual scenario is this: I have 9 queries
to be executed. I want divide the 9 queries into 3 parts. Each part will now
have 3 quries. I want to execute the 3 parts simultaniously. I dont want to
use threading. If i use asynchronous call, If any error come in one part, the
other parts gets stopped. My scenario is, If error comes in first part, the
other two parts should get executed Successfully.

Regards,
Sivaraman.S

"Patrice" wrote:
The goal is ?

If you have some task to perform multiple times you could likely use an
asynchornous call to a web service or similar. Knowing the "why" may help to
raise better suggestions (likely this is not the exact same job with same
data ???)

Patrice

--

"Sivaraman.S" <Si********@discussions.microsoft.com> a écrit dans le message
de news:C5**********************************@microsof t.com...
Hi friends,

How to execute a aspx page more than once simultanously without using
threading?

regards,
Sivaraman.S


Nov 18 '05 #3
Performing multiple actions simultaneously implies threading. If this is what
you want to do, I don't see how you're going to avoid using threads.

"Sivaraman.S" wrote:
hi Patrice,

Thanks for ur suggestion. The actual scenario is this: I have 9 queries
to be executed. I want divide the 9 queries into 3 parts. Each part will now
have 3 quries. I want to execute the 3 parts simultaniously. I dont want to
use threading. If i use asynchronous call, If any error come in one part, the
other parts gets stopped. My scenario is, If error comes in first part, the
other two parts should get executed Successfully.

Regards,
Sivaraman.S

"Patrice" wrote:
The goal is ?

If you have some task to perform multiple times you could likely use an
asynchornous call to a web service or similar. Knowing the "why" may help to
raise better suggestions (likely this is not the exact same job with same
data ???)

Patrice

--

"Sivaraman.S" <Si********@discussions.microsoft.com> a écrit dans le message
de news:C5**********************************@microsof t.com...
Hi friends,

How to execute a aspx page more than once simultanously without using
threading?

regards,
Sivaraman.S


Nov 18 '05 #4
Basically it could be something like :
- begin call 1
- begin call 2
- begin call 3
- wait for all calls to be completed (or timeout ?)
- return final results to the user

You should wait for the longest of those 3 calls rather than waiting for the
cumulated times of those 3 calls.

With proper exception catching it shouldn't be a problem to have a problem
with call 1 but still using the results of call2 and call3. Make sure also
to test how it performs under load especially if this frequently used as the
load will be put on the server that processes these requests (and ultimately
you'll be sequential again or worse if you send too much requests).

You best best is likely to roughly test this model first before delving into
details...

Good luck.

Patrice

--

"Sivaraman.S" <Si********@discussions.microsoft.com> a écrit dans le message
de news:84**********************************@microsof t.com...
hi Patrice,

Thanks for ur suggestion. The actual scenario is this: I have 9 queries
to be executed. I want divide the 9 queries into 3 parts. Each part will now have 3 quries. I want to execute the 3 parts simultaniously. I dont want to use threading. If i use asynchronous call, If any error come in one part, the other parts gets stopped. My scenario is, If error comes in first part, the other two parts should get executed Successfully.

Regards,
Sivaraman.S

"Patrice" wrote:
The goal is ?

If you have some task to perform multiple times you could likely use an
asynchornous call to a web service or similar. Knowing the "why" may help to raise better suggestions (likely this is not the exact same job with same data ???)

Patrice

--

"Sivaraman.S" <Si********@discussions.microsoft.com> a écrit dans le message de news:C5**********************************@microsof t.com...
Hi friends,

How to execute a aspx page more than once simultanously without using threading?

regards,
Sivaraman.S


Nov 18 '05 #5
"Sivaraman.S" <Si********@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com...
Hi friends,

How to execute a aspx page more than once simultanously without using
threading?


My answer would be, "don't do that!".

This isn't the sort of thing that should be on an aspx page. Put this code
in a service of some kind, and use threading properly. Refer to the service
via .NET remoting from the aspx page.

John Saunders
Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bbenham | last post by:
In the Code-Behind file for a Specific page I'm doing, I am using Server.Execute("anotherpage.aspx", writer) to retrieve the resulting output of a different aspx page, which I am maniuplating etc. A...
2
by: Dune | last post by:
I'm trying to execute an aspx page by calling Server.Execute. The aspx page I'm trying to execute is in a different web app from the aspx page containing the Server.Execute statement. A slightly...
4
by: Julia | last post by:
Hi Everyone, I am using webbrowser control to post data to an aspx page. However, for some reason, the aspx page sometimes will execute page_load event twice, and sometimes execute it once. So I...
7
by: Rajiv Gupta | last post by:
Hi, We are moving from asp to asp.net. In our existing model we execute the asp by including them in .html files. For example: In abc.html file we include following directive: <!--exec...
4
by: ALI-R | last post by:
My home page of my website is named index.aspx ,when I upload it to the host ,I get 403 forbidden error,If I put an index.html there that link that aspx file,eveything works perfect? my second...
9
by: tshad | last post by:
I have an example I copied from "programming asp.net" (o'reilly) and can't seem to get the Sub (writefile) to execute. It displays all the response.write lines that are called directly, but not...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
0
by: Brian | last post by:
I'm using Server.Execute to decide at run-time which .aspx page to use to format a mail message. Using a StringWriter, I call Server.Execute on the page that does the formatting, then snag the text...
4
by: john_smith_nebraska | last post by:
I am using VISTA . I have IIS enabled . I installed VS 2005 successfully. Under old ASPX you knwo you go to inetpub wwwroot and run a test default.aspx file to see if it executes properly....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.