









Close Connections When You Are Finished With Them
By proactively closing connections when they are no longer needed, you reduce demand on the database server and make resources available to other users. Connections are closed when they go
By proactively closing connections when they are no longer needed, you reduce demand on the database server and make resources available to other users. Connections are closed when they go
System.out leads the output to the standard output stream (normally mapped to the console screen). System.err leads the output to the standard error stream (and, by default to the console,
Records can be deleted depending upon an expiration date in ASPThe sample code is given below: set connected= server.createobject(
Use the Command.Tag property to enable one button to be used for two distinct states (On/Off, True/False). This is helpful for changing filters, modes, etc. It saves screen
By default, the CacheSize property of the Recordset object is set to 1 for all cursor types. By increasing the CacheSize, you can increase the number of records the provider
If you’re running the client or server with Java 2, then you’ll need to specify a security policy file, to prevent SecurityExceptions being thrown. This policy file will allow your
If a string has two or more consecutive spaces, this will bring them down to a single space. Private Function TrimToSingleSpace(strToTrim As String) As StringstrToTrim = Trim(strToTrim)Do Until InStr(1, strToTrim,
Reading cookies from a servlet is easy. You can gain access to any cookies sent by the browser from the javax.servlet.http.HttpServletRequest passed to the servlet’s doGet, doPost, etc methods. HttpServletResponse
Add 2 list boxes to a form: list1 and list2. Set list1