Difference between Session["var"] and Session("var")

Discussion in 'ASP .Net' started by thomson, Jun 20, 2005.

  1. thomson

    thomson Guest

    Hi,
    i create a session variable in C# as follows Session["var"] ,
    but iam not able to access the variable in VB.net

    like intmode=Session("var");

    Why is that ?

    Regards

    thomson
     
    thomson, Jun 20, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jakk
    Replies:
    4
    Views:
    13,881
  2. thomson
    Replies:
    10
    Views:
    2,773
    Eliyahu Goldin
    Jun 20, 2005
  3. daniele.g
    Replies:
    4
    Views:
    684
    Joe Pfeiffer
    Jul 15, 2011
  4. Jazzis
    Replies:
    2
    Views:
    416
    Jazzis
    Sep 23, 2003
  5. Shea Martin

    difference between @var and self.var

    Shea Martin, Jun 21, 2006, in forum: Ruby
    Replies:
    2
    Views:
    281
    Shea Martin
    Jun 22, 2006
  6. Replies:
    17
    Views:
    432
  7. erdibalint
    Replies:
    7
    Views:
    315
    Evertjan.
    Feb 21, 2008
  8. erdibalint
    Replies:
    0
    Views:
    179
    erdibalint
    Feb 20, 2008
Loading...