SITE SEARCH

SITE LINKS

          • ASP TUTORIAL
        • ASP HOME
        • ASP Introduction
        • ASP Install
        • ASP Syntax
        • ASP Variables
        • ASP Procedures
        • ASP Forms
        • ASP Cookies
        • ASP Session
        • ASP Applications
          • ASP #include
          • ASP Global.asa
          • ASP Send e-mail

         

        • ASP Object
        • ASP Response
        • ASP Request
        • ASP Application
        • ASP Session
        • ASP Server
        • ASP Error
        • ASP FileSystem
        • ASP TextStream
        • ASP Drive
        • ASP File
        • ASP Folder
        • ASP Dictionary
        • ASP ADO

         

        • ASP Components
        • ASP AdRotator
        • ASP BrowserCap
        • ASP ContentLinking
        • ASP ContentRotator

         

        • ASP Summary
        • ASP QuickRef
        • ASP Summary

Home Html Css Javascript Php Asp .Net Sql Xml
user login New user? Register Here | Forgot Password?

ASP Variables

Prev
Next
 

A variable is used to store information.


Lifetime of Variables

A 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 Variables

Session 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 Variables

Application variables are also available to all pages in one application. Application variables are used to store information about ALL users in one specific application.
Prev
Next
Top

 

 

© 2010 Copyrighted. Yavum.com™