|
-
Apr 2nd, 2009, 07:42 AM
#11
Addicted Member
Re: Share your N000B Moment!!!
 Originally Posted by visualAd
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.
If my post helped you, please rate it!
Languages: VB/ASP.NET 2005, C# 2008,VB6
Databases: Oracle (knowledge not currently in use), DB2
FROM Customers
WHERE We_Know_What_We_Want <> DB.Null
SELECT *
0 rows returned
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|