Quote Originally Posted by visualAd View Post
Here's another lesson, don't use Javascript for user authentication.
The app doesn't use JS to validate the user per-se, the access roles come from a database.

I did not write this app myself. It existed years before I started working here. Apparently, the developer that originally wrote it didn't know how to use VBScript, so they used Javascript to write the entire app.

I remember thinking to myself "Great! So if I have a single solitary Javascript error, the entire app will be broken! Oh Joy!". I mean honestly, what sane individual would use js for an entire application?

For my particular task, I only had enough time to "open it up" to another country. If I had the time, it would have been .NET in a heartbeat.