Z
Z
ZuBB2010-11-27 18:08:50
JavaScript
ZuBB, 2010-11-27 18:08:50

Sending logs from client to server

There is a client part ( upd : lives in a normal browser (ff,gc,sf,op)) of a web-application that logs its actions very actively (at the moment the log is collected in a textarea; I don’t know if it’s the best option, maybe they can give you some hints here.)

I would like to have these logs on the server. Since the log is large, it would be nice to archive the whole thing and send it to the server.

is it possible? if so, how? Maybe there is an example somewhere, or a link to the doc…

Thanks in advance!

upd :
$("textarea_with_log").value += new_log_string;

the client "knows" when to stop logging and initiate log processing. Problems with terminating / shutting down the client side / browser “can be considered” as not

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AzaLess, 2010-11-27
@AzaLess

Maybe just send AJAX once a minute via JSON?

C
cheaTTer, 2010-11-27
@cheaTTer

yes, perhaps
you would describe everything in more detail ...
how, for example, to understand "at the moment the log is going to textarea"?
that is on the form there is a field where the broad gull is written? and what's next? when you close the client application.
and what is this web-application client? Are you using a browser or what?
and further. what server? OS at least

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question