473,322 Members | 1,911 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,322 software developers and data experts.

Multi-threaded ASP.NET Page

Hello All:

I am very new to multi-threaded programming and have a need (I think)
to write an application that uses multi-threaded pages. My scenario
follows:

My business has multiple databases, multiple websites, like a
franchised business, and multiple branches that go to each website (22
branches for one website, 2 for another, etc.).

Each branch has it's own closing business date. When this date occurs,
a process is triggered on the SQL database that runs an executable.
This executable (console application) creates a process that will go to
a page on the branch's affiliated website
(https://www.company.com/businessclos...ts.aspx?bc=ABC) via
iexplore.exe. A record is create in a database table that shows if the
processing from the web end is done. Once the processing is done, I
close the iexplore.exe process and then exit the console application.

On the website, the database is queried to get a list of payments to be
processed. We use a credit card processing company to authorize
transactions. In order to receive payment, we need to mark the
authorized transactions as shipped to the customer. To do this, we need
to post an HTML form to the credit card processing company, have them
process it and catch what the credit card company send back to us via
HTML form post as well.

The processpayments.aspx page currently gets a list of all the
authorized transactions to be marked as shipped, registers client-side
scripts (window.open();) to a second page that posts an HTML form to
the credit card processing company. Each of the authorized
transactions have a Shipped flag in the database. When we receive a
posted form from the credit card processing company, I flip the flag.
I then find the iexplore.exe process record in the database and mark is
a done.

All that works with one branch and one process and one record from the
database. I need to scale it up now. The problem is that I don't know
where to begin. I would like to have a wait condition on the
processpayments.aspx page like the one for the console application that
will keep sending forms to the credit card processing company until all
authorized payments have been marked as shipped and then flip the done
flag for the iexplore.exe process. I could go for even fancier, but
alas, I am not a very proficient network programmer.

Please help me. I'm not even sure that the approach that I have taken
is the best for what I'm trying to accomplish.

Regards,
Jeff Jones

Dec 27 '06 #1
0 1147

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

Similar topics

37
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours,...
4
by: Frank Jona | last post by:
Intellisense with C# and a multi-file assembly is not working. With VB.NET it is working. Is there a fix availible? We're using VisualStudio 2003 Regards Frank
12
by: * ProteanThread * | last post by:
but depends upon the clique: ...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
6
by: Joe | last post by:
I have 2 multi-list boxes, 1 displays course categories based on a table called CATEGORIES. This table has 2 fields CATEGORY_ID, CATEGORY_NAME The other multi-list box displays courses based on...
4
by: mimmo | last post by:
Hi! I should convert the accented letters of a string in the correspondent letters not accented. But when I compile with -Wall it give me: warning: multi-character character constant Do the...
5
by: bobwansink | last post by:
Hi, I'm relatively new to programming and I would like to create a C++ multi user program. It's for a project for school. This means I will have to write a paper about the theory too. Does anyone...
5
by: dkelly925 | last post by:
Is there a way to add an If Statement to the following code so if data in a field equals "x" it will launch one report and if it equals "y" it would open another report. Anyone know how to modify...
0
by: Sabri.Pllana | last post by:
We apologize if you receive multiple copies of this call for papers. *********************************************************************** 2008 International Workshop on Multi-Core Computing...
1
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.