How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
ASP Variables Tutorials
Using Variables and Forms
Using Variables and Forms
Storing and retrieving variables from application object
In this tutorial, we will take a look at Application Object. When you've used Application Object, all ASP pages can store and retrieve information. The information in Application Object stored in server and all ASP pages can access the information. The main diffrences between Session Object and Application Object is Application Object stores information in server memory.
ASP Forms Tutorial
Provides a step by step guide to pass ASP variables through a form and display the variables using response.write.
Encoding URL strings
While passing variables as an URL's querystring, you should need to encode the string. All special characters like space must be written in adress bar in a form for browser.
Get Your Data Faster with a Data Cache
Storing frequently used lookup data in a database is a great idea (e.g. order status codes, state names, etc.) that saves tremendous amounts of time in design and maintenance. However, retrieving that data from the database every time it is needed is very inefficient. This article describes how to use Application variables to cache frequently used lookup data in memory to achieve lightning fast access times.
A complete free banner ad system in action
This tutorial explains the complete banner ad system used at the site, "CoverYourASP". Database driven, but using Application variables extensively, it tracks impressions and click throughs and is fully automatic. Source code available for download.
ASP Session Transfer across domains
You may have come across a situation where you have two ASP websites, possibly on different servers, and you wish to pass a visitor from site 1 to site 2 whilst retaining all the session variables. XSess passes the entire session from one ASP webserver to another securely. XSess consists of a function, and a few supporting functions, contained in an include file.
How Session variables work
Session variables can store user-specific information for you. This tutorial explain how to configure your server and how they work (and when they don't).
Some Nifty Functions for Passing Variables Around
Here are a set of very useful functions that allows you to pass variables around via forms, querystrings, and/or cookies. Source code available for download. More free help at www.webforumz.com
This is a simple one page example of how to display all Server, Application and Session variables. Also shows how to add & delete Session and Application variables programatically.
Displaying All of the Form Variables
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.
ASP Quick Debug
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."
Passing arrays from one page to another
This article explains how to pass the values in an array from one page to another without using session or application variables.
Using Application variables, and introducing global.asa
Here, you'll find a few example codes that allows you to save thousands of unnecessary database queries using Application variables.