Using a MySQL Database to Validate Usernames and Passwords
A common mistake many developers make is using their MySQL database to validate a user name and password combination. Here’s a typical SQL query checking for the existence of a
A common mistake many developers make is using their MySQL database to validate a user name and password combination. Here’s a typical SQL query checking for the existence of a
To achieve faster performance, enable the caching property in your database-driven data source control (this is applicable only for ASP.NET 2.0). CacheDuration indicates the number of seconds the data is
SAXParser’s DefaultHandler provides a callback for public void characters(public char[] ch, int start, int length, etc.) and throws a SAXException for reading element text contents. You can read the char
Application Verifier is a tool for testing user-mode applications for compatibility with MS Windows XP. It comes in handy when you’re troubleshooting issues like common programming mistakes related to memory
To include characters in your mask that are also part of the set of mask syntax characters, escape them by using the backslash () character in front of the character
Use this code to find information?such as the method name or the parameters?of a dynamic class: import java.lang.reflect.*;public class DynMethodNames{ public static void main(String a[]) { try{ //passing class name
StringBuilder has an Append method that returns a reference to itself. This is useful for when you want to append several items in one go. The following code is an
Everybody knows that the alert() function in JavaScript is used to display messages in a dialog box. For example, the following code: alert(‘Hello Prakash’); will pop up with this message:
I found this out trying to work around a problem with an object shared across threads (yes, it was bad programming, but I still had to work around it). By