Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn it persist messages between pageviews?

Messages pageviews persist
0
Posted

Why doesn it persist messages between pageviews?

0

The short answer is that for my purposes, I haven’t had the need for it to do so. For all the programming I’ve been doing, a pageview is the right duration for relevancy of the logged messages. Originally, I envisioned it with two modes: first, a display panel, with no persistence between pageviews (as it is now); second, a “persistant logging” mode, in which logged messages would be sent back to the server via XMLHTTP, and persisted in a database table. A separate page would poll the database and provide the “log viewer,” complete with filters for date, severity, and IP/machine name of the browser where the message was logged. However, when I got as far as I did, I realized I had an extremely useful tool which I was using all the time. Honestly, I’m not sure how much more I would use the persistent log mode, if I created it. In addition, it would make it more complex to deploy and use (would have to make sure the DB was there, etc.), so in terms of a lightwight, reusable, easy-to-depl

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123