A short tutorial showing the basic the basic structure of the global.asa file. Describes different objects: Application_OnStart, Application_OnEnd, Session_OnStart, Session_OnEnd. An active servers counter is used as an example.
Version: n/a Platform(s): n/a Updated: Mon Jan 14 2002
This article takes a look at three different ways to output content using Response.Write: using context switching, simple Response.Write statements, and Response.Write statements within a With block. Also examines the performance implications of each approach as well as the timing results of the vanilla Response.Write approach in an ASP.NET Web page.
Version: n/a Platform(s): n/a Updated: Fri Jan 4 2002
This step-by-step tutorial covers the basics from dynamic resizing of arrays, to useful array functions, to finding elements in an array and passing an array from page to page.
Version: n/a Platform(s): n/a Updated: Tue Aug 7 2001
This is a short tip on how to build dynamic cascading style sheets using an ASP page. Stylesheets are useful for separating the content and presentation of a Web page. While cascading style sheets are static text files, it shows how to generate dynamic style sheets using ASP.
This short tutorial describes a little function that is useful in debugging your ASP pages. This function, FormDataDump(), outputs all of the form variables being passed into a page. Various options for this function allow the developer to view the values in a 'debugger-style' mode, or in a 'quiet-mode,' in which case the form variable output is hidden from the end user.
Version: n/a Platform(s): n/a Updated: Fri Jun 29 2001
Using classes in ASP 3.0 we can create dynamic arrays of objects. This article presents a sample code showing how to implement a class of dynamic arrays of objects several layers deep.
Version: n/a Platform(s): n/a Updated: Mon Jun 11 2001
This article shows you how to boost the performance of your ASP Web application by improving the speed at which your browser renders your resultant HTML.
Version: n/a Platform(s): n/a Updated: Tue Jun 5 2001
This article discusses the usage of persistence with the Application object in detail. Explains when to use Persistence, advantanges and disadvantages of using Persistence, and what types of data exchanges are targets for optimization and the benefits and disadvantages of using persistence with the Application object. Example code available for download.
Version: n/a Platform(s): n/a Updated: Fri May 11 2001
This article examines how to strip HTML tags using regular expressions. Regular expressions are nifty little buggers that can be used to perform advanced string pattern matching and replacing.
This is a short exmaple that demonstrates the text manipulation functions in .asp. It takes a string of ten numbers 8005551212 (the 800 number for 800 info) and splits it into the common ###-###-#### format.
The author writes "When it comes to debugging ASP, you often want to keep track of the variable values throughout the script. This article introduces a procedure that, when invoked, displays all variables in a script along with their values and internal types."
Version: n/a Platform(s): n/a Updated: Thu Jan 25 2001
There are 8 events available in ASP grouped by Global Events, Class Events, and Transactional Events. This is a nice summary tutorial on how to use them in your applications.
Version: n/a Platform(s): n/a Updated: Wed Jan 3 2001
This short tutorial provides two simple solutions for trimming strings: the easy way and the right way. The right way will ensure not to return a string with the last word cut off.
Version: n/a Platform(s): n/a Updated: Wed Jan 3 2001
This article explains why you shouldn't be sprinking <% %> render blocks throughout your HTML code. It's inefficient for the server and for your users!
Version: n/a Platform(s): n/a Updated: Wed Oct 11 2000