writing logs to a web page

G

Guest

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

--
 
J

Jinsong Liu

You want to log the process or you want to display the processing
status to the user?

JSL
 
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,127
Latest member
CyberDefense
Top