logo

New Response

« Return to the main article

You are replying to:

  1. Well, auto-logging would be nice. Could javascript do this via the onload-event of the form ?

    I could imagine that it can call a public agent with some &-Params. A document.submit is not the answer since the error form is opened in read mode.

    Some params could be: window.location.href (the page were the error occured) etc.

    onload: window.location.href = "/mylog.nsf/LogThisError?OpenAgent&Location=http://domain.com/db.nsf/view?OpenVi ew&Start=2&User=Denis%20Kopprasch&Browser=....."

    I didn't try this yet but i can imagine this could work. The agent could do the part of printing the "friendly" error message. To avoid duplicate posts of the same error (when the user presses the back-button), a computed for display UNID can be passed as an additional parameter too.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: