Using Server Sent Events (SSE) with Session
The SSE is a very useful method to push data from server to client. This article explains the requirement and implementation of SSE with Session so that each of the…
Help snippets on NodeJs, React, ColdFusion, PHP, Android, iOS and tech news
The SSE is a very useful method to push data from server to client. This article explains the requirement and implementation of SSE with Session so that each of the…
When you have date and time separate in two fields, it becomes difficult to have date operation like add in them. To have a correct solution, we need to join…
When displaying decimal numbers, it will show both the Integer and Fractional part even if the fractional part is 00. Like below: 2.35 3.50 2.00 If we need to hide…
The rounding problem can be avoided by using numbers represented in exponential notation: Number(Math.round(1.005+'e2')+'e-2'); // 1.01 Source: http://www.jacklmoore.com/notes/rounding-in-javascript/
Integration with QuickBooks is easy if you know the OAuth flow. QuickBooks uses the OAuth 1.0 specification. They provide libraries for PHP, Java and other popular languages. For ColdFusion/Railo, you…
With PHP and MySQL, if the MySQL is upgraded you may end up with this error on every request to the database from PHP. This error means the MySQL library…