| Home Contact Us Advertising |
![]() |
|
||||
ASP Guides ASP Install ASP Syntax ASP Variables ASP Procedure ASP Forms ASP CookiesASP Session ASP Application ASP IncludeASP Send Email Link Partners
|
ASP VariablesA variable is used to store information. If the variable is declared outside a procedure it can be changed by any script in the ASP file. If the variable is declared inside a procedure, it is created and destroyed every time the procedure is executed. Lifetime of VariablesA variable declared outside a procedure can be accessed and changed by any script in the ASP file. A variable declared inside a procedure is created and destroyed every time the procedure is executed. No scripts outside the procedure can access or change the variable. To declare variables accessible to more than one ASP file, declare them as session variables or application variables. Session VariablesSession variables are used to store information about ONE single user, and are available to all pages in one application. Typically information stored in session variables are name, id, and preferences. Application VariablesApplication variables are also available to all pages in one application. Application variables are used to store information about ALL users in a specific application. |
Featured Sites |
| © 2005 Copyright - Zenaspfree.com |