Session Object v Data Cache

Discussion in 'ASP .Net' started by Wee Bubba, Jan 27, 2005.

  1. Wee Bubba

    Wee Bubba Guest

    hello.

    i have some lookups tables which I need to store when a user logs in.
    the data with these tables is user specific. also this data needs to
    be accessed for every page so I want to store it somewhere.

    i can store these dataTables in the session object or I can store them
    inside the data cache using a unique identifier as the key.

    i realise that if i place this data inside the session object then the
    memory will get freed as soon as the user logs out. but the data is
    non updateable and i also know that the data cache offers quick
    access and memory scavenging.

    can anyone offer me ideas as to what the core differences are? when
    should I use one and not the other? are there performance
    differences? thanks.
    *---------------------------------*
    Posted at: http://www.GroupSrv.com
    Check: http://wwww.HotCodecs.com
    *---------------------------------*
     
    Wee Bubba, Jan 27, 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. Rein Petersen
    Replies:
    1
    Views:
    533
    Matt Anderson
    Jul 6, 2003
  2. DaveF

    Session State and Cache data?????

    DaveF, Nov 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    404
    Ben Strackany
    Nov 24, 2004
  3. far asl via DotNetMonster.com

    How can i share asp session data with asp.net session data

    far asl via DotNetMonster.com, Mar 22, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    720
    =?Utf-8?B?VmliaHUgQmFuc2Fs?=
    Mar 23, 2005
  4. Siva
    Replies:
    1
    Views:
    1,442
    Jeff Dillon
    Apr 24, 2006
  5. momo898
    Replies:
    2
    Views:
    613
    bruce barker \(sqlwork.com\)
    Oct 12, 2006
  6. Doogie

    Session or Cache object

    Doogie, Feb 12, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    370
    Doogie
    Feb 12, 2007
  7. mark4asp
    Replies:
    2
    Views:
    506
    mark4asp
    Jun 7, 2007
  8. Replies:
    4
    Views:
    460
Loading...