Results 1 to 2 of 2

Thread: Application Variable and Ordinary Variable

  1. #1
    Guest

    Question

    What makes the difference between creating an application Variable and a ordinary variable created in global.asa file,
    since both can be used in all the pages of the application.

    Would any one answer my doubt.

    Deepak S

  2. #2
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224
    There are
    APPLICATION VARIABLES
    SESSION VARAIBLES
    And Variables u use on a Per page(*.asp) basis

    The difference However is an Application VAriable is
    common to all those Users of the application.


    Let Say you have asp application and 100 users access it at a time. When you store something in an application variable
    It is common for all those 100 and this is a variable
    on a per application basis.

    Now If it is a session variable it is for a particular session.Even if a single user opens 100 sessions ,each session variable can have different values.

    The ordinary Variables - will be out of scope after the page
    they are declared is completely processed and deliver to the user.
    If you can't pronounce my name, call me GURU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width