Shared Variable Vs. Session Variable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Kraft

    #1

    Shared Variable Vs. Session Variable

    Hi all,

    My question is more of a phylisophical one here, but I am wondering what
    the difference is (effectively and performance wise) between using a
    shared variable/static variable and using a session variable.

    I have two different applications right now that effectively perform the
    same action at one point. In the one application I created a shared
    variable:

    shared myTable as DataTable;

    In the other application I used a session variable:

    session("myTabl e") = myTable;

    Both of these ways "seem" to perform identically... that is they both
    produce the same end result when I use them.

    What's your view on this?

    John Kraft

Working...