473,487 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

writing logs to a web page

Hi
I have a page that would upload a file and trigger some background process,
and during the execution of this process and / or upon completion of the
process. I would like to write some lines of information, such as no. of
record processed and no. of record failed or even a log saying "record
<record_key> added / failed " to a web page.

Should I
1. redirect to a new page and write each line directly to the page, the
problem is on each page of my application I have a menu which appear on the
top of <body> section. Then how can I write multiple lines messages
underneath the menu? using Textarea, but how do I add line by line? OR
2. write to a log file or database, then redirect to a new page to display
the log file / database ?

Any advice?
TIA

--

Nov 19 '05 #1
4 1060
Checkout the logging component of the Microsoft Enterprise Library.

Jason Lind

"dl" wrote:
Hi
I have a page that would upload a file and trigger some background process,
and during the execution of this process and / or upon completion of the
process. I would like to write some lines of information, such as no. of
record processed and no. of record failed or even a log saying "record
<record_key> added / failed " to a web page.

Should I
1. redirect to a new page and write each line directly to the page, the
problem is on each page of my application I have a menu which appear on the
top of <body> section. Then how can I write multiple lines messages
underneath the menu? using Textarea, but how do I add line by line? OR
2. write to a log file or database, then redirect to a new page to display
the log file / database ?

Any advice?
TIA

--

Nov 19 '05 #2
You want to log the process or you want to display the processing
status to the user?

JSL

On Fri, 10 Jun 2005 01:20:46 +0800, <dl> wrote:
Hi
I have a page that would upload a file and trigger some background process,
and during the execution of this process and / or upon completion of the
process. I would like to write some lines of information, such as no. of
record processed and no. of record failed or even a log saying "record
<record_key> added / failed " to a web page.

Should I
1. redirect to a new page and write each line directly to the page, the
problem is on each page of my application I have a menu which appear on the
top of <body> section. Then how can I write multiple lines messages
underneath the menu? using Textarea, but how do I add line by line? OR
2. write to a log file or database, then redirect to a new page to display
the log file / database ?

Any advice?
TIA


Nov 19 '05 #3
Can you tell me a bit more about this? Do you have the link?
TIA
"Jason L Lind" <Ja********@discussions.microsoft.com> wrote in message
news:A2**********************************@microsof t.com...
Checkout the logging component of the Microsoft Enterprise Library.

Jason Lind

"dl" wrote:
Hi
I have a page that would upload a file and trigger some background process, and during the execution of this process and / or upon completion of the
process. I would like to write some lines of information, such as no. of record processed and no. of record failed or even a log saying "record
<record_key> added / failed " to a web page.

Should I
1. redirect to a new page and write each line directly to the page, the
problem is on each page of my application I have a menu which appear on the top of <body> section. Then how can I write multiple lines messages
underneath the menu? using Textarea, but how do I add line by line? OR
2. write to a log file or database, then redirect to a new page to display the log file / database ?

Any advice?
TIA

--

Nov 19 '05 #4
I want to display the processing status, but if I wanted to cover
record-by-record, then it would be a log right?
TIA

"Jinsong Liu" <Ji*****@mssolution.com.nospam> wrote in message
news:l2********************************@4ax.com...
You want to log the process or you want to display the processing
status to the user?

JSL

On Fri, 10 Jun 2005 01:20:46 +0800, <dl> wrote:
Hi
I have a page that would upload a file and trigger some background process,and during the execution of this process and / or upon completion of the
process. I would like to write some lines of information, such as no. of
record processed and no. of record failed or even a log saying "record
<record_key> added / failed " to a web page.

Should I
1. redirect to a new page and write each line directly to the page, the
problem is on each page of my application I have a menu which appear on thetop of <body> section. Then how can I write multiple lines messages
underneath the menu? using Textarea, but how do I add line by line? OR
2. write to a log file or database, then redirect to a new page to displaythe log file / database ?

Any advice?
TIA

Nov 19 '05 #5

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

Similar topics

17
7656
by: Eric Lindsay | last post by:
Is learning to write CSS a better use of time than finding and using a package that produces complete web pages? I've moved to a new platform (Macintosh), taking with me about 400 personal web...
3
14650
by: vb | last post by:
I need to delete records from several large tables - 1 million plus rows. Some of these tables have nested foreign key relationships. When I perform the delete statements, it can take forever as...
4
1611
by: Brian Lowe | last post by:
I'm using Forms authentication with my user data in a SQL db. I have pages in the main appliaction folder accessible to anonymous users and I've set security to deny annonymous users access to...
2
2316
by: Charles | last post by:
I am working on writing a script that would allow for about twenty users to log into a web site that uses forms authentication. This solution is still in devlopment so the only thing that I need...
4
2162
by: HNguyen | last post by:
Hi, I have a Web application in ASP.NET. My Application allows the users upload files into the server after checking their user names and passwords. For each transaction, the Web program will...
1
1218
by: paul.dunstone | last post by:
Hi all I have an issue whereby I have a form which is split up into three different panels on the same page. However, as I requirment the IIS logs must record the three different stages of the...
4
12851
by: mcw.willart | last post by:
Hi, I want to write events to the Apllication log and I'm trying to create a custom source. When I run the app I get "The source was not found, but some or all event logs could not be searched....
3
2908
by: evenrik | last post by:
An a redhat box I have root, apache and other normal users run code that uses the logging module to write to the same log file. Since umasks are set to 2 or 022 this gets permission errors. I...
0
6967
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
7132
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
7180
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
7341
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
5439
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,...
1
4870
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.