Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6120093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:37:44+00:00 2026-05-23T15:37:44+00:00

For example, in PHP or other server side programs, I can save all errors

  • 0

For example, in PHP or other server side programs, I can save all errors which caused by users to the server.
And I can know if errors occurred or not and can fix them.

But in web applications using javascript, I don’t know what errors are caused by users.
And I can not fix them.

How to save errors of javascript web applications to the server to know and fix them?
And saving javascript errors to the server is a common and effective approach?

Or are there better approaches to deal with the problem?
How do many “javascript web application developers” know and fix the errors of their published javascript web applications?

Or shouldn’t I worry about the errors caused by users?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:37:45+00:00Added an answer on May 23, 2026 at 3:37 pm

    Javascript also has try/catch blocks that you can use to trap errors and submit to server.

    Not every error is worth saving to server. Based on the severity of error, you need to decide which ones to save/log and which ones to handle differently.

    E.g., number validation is something that you can display to user via alert() or highlighted error spans/divs; whereas if password validation fails for n number of times, you might want to log the incoming IP address and other data that lets you audit your system for potential breaches.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All the time, I use PHP on server side to generate HTML/XHTML directly or
Here's a PHP example of mine. Can anyone find a shorter/easier way to do
i want to make my server side in php. after writing the code in
I want to disallow certain UTF-8 input (server-side), e.g. eastern languages, where example input
I'm biased towards writing fool-proof applications. For example with PHP site, I validate all
I'm writing a php forms class with client and server side validation. I'm having
I'm performing a thought-experiment which, judging by other questions, isn't so novel after all,
I'm building a small PHP/Javascript app which will do some processing for all cities
I have two separate files that one is server-side JS. The other one is
For example: A.php (the config file): <?php $a = array('name'=>'wine[$index][name]', 'value'=>'wine[$index][value]' ) ?> B.php:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.