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

Is it possible to monitor request process?

I'm attempting to use an HTTP Module to monitor the progress of the request.
Is there a way to do this? I've attempted to use the Request.TotalBytes
property, and attempted to use the Request.InputStream, but both seem to
only respond after the request has been sent to the server. Any help would
be greatly appreciated.
Nov 17 '05 #1
4 1620
Could you be more specific? What do you mean, "monitor the progress of the
request"?

--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

"Joel Cade" <jc***@brinkster.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
I'm attempting to use an HTTP Module to monitor the progress of the request. Is there a way to do this? I've attempted to use the Request.TotalBytes
property, and attempted to use the Request.InputStream, but both seem to
only respond after the request has been sent to the server. Any help would be greatly appreciated.

Nov 17 '05 #2
Hi,

If i got you right, you should use ISAPI filter.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #3
Joel,

There are things you're not telling us.

Your HttpModule captures the BeginRequest event, and you say it keeps track
of the bytes sent. Your remoted object stores the progress so it can be
displayed on another page.

So, what's missing? What is it that you haven't been able to do?
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

"Joel Cade" <jc***@brinkster.com> wrote in message
news:Oq**************@TK2MSFTNGP12.phx.gbl...
The user is uploading a file to the server via an upload page. I'd like
to be able to monitor how much of the upload has completed. I have a
remoted object that is storing the progress values, allowing a different
page to display a progress bar. I've implemented an HTTP Module that
captures the BeginRequest event, and will keep track of the number of
bytes that have been succsesfully sent.

Can I do this in a .Net language, or is an ISAPI filter required?

Thanks for the quick reply!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #4
The HttpModule has access to the Context.Request, which has properties
for examining the Request, but they seem to lock up the processing of
the module until the Request has completed sending. I've tried
examining the Request.TotalBytes, but this locks up the processing until
the request has been received.

I've attempted using the Request.InputStream as well, but accessing this
object also hangs the process until the Request has been completely
received by the server.

Joel Cade, MCSD
Brinkster, Inc.

"Try not to become a man of success, but rather try to become a man of
value." - Albert Einstein

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #5

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

Similar topics

6
by: Kalyan | last post by:
Hi I need some idea, Is there any way to write vb code to monitor server activity and if server fails send out email to admin. thanks Kalyan
1
by: Rohit Raghuwanshi | last post by:
Hello all, we are running a delphi application with DB2 V8.01 which is causing deadlocks when rows are being inserted into a table. Attaching the Event Monitor Log (DEADLOCKS WITH DETAILS) here....
2
by: Jack David | last post by:
Using the code below I am able to monitor a single directory for a new file and then kick-off a process to deal with the file. The question is??? How would I modify this code to be able to monitor...
12
by: Brett Robichaud | last post by:
I need to make access to a reference object threadsafe. My natural instinct was to simply use Monitor.Enter() and Exit(). The problem is that the object behind the reference changes frequently,...
2
by: john.johnhart | last post by:
I have a program that will be launching another process. I want to be able to monitor the files created and/or modified by this second process. I know about FileSystemWatcher, but there's no way...
3
by: trialproduct2004 | last post by:
Hi all i am having C# application which is processing 5 urls asychronously using webrequest and webresponse classes. What i want is as soon as any url request processing is completed i want to...
1
by: Matt | last post by:
I'm writing a plug-in in VB.NET to a an application called DesktopSidebar for Windows. Right clicking my plug-in's "panel" gives shows among other things a Properties Dialog. All I need to do is...
12
by: Perecli Manole | last post by:
I am having some strange thread synchronization problems that require me to better understand the intricacies of Monitor.Wait/Pulse. I have 3 threads. Thread 1 does a Monitor.Wait in a SyncLock...
5
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.