persist session info

Discussion in 'ASP General' started by keyser soze, May 6, 2008.

  1. keyser soze

    keyser soze Guest

    hi
    i have logically divided each .asp page
    in one or more "states"
    then i need to store somewhere
    information about what state
    has each client on each page
    i consider 3 ways:
    - store info in the DB : {page,sessionid} is the PK
    - in a file: which i have to read on enter to the page and write on exit the page
    - in the session object: storing an array on a session variable, like session("x")[1...N]

    each way has a pros and cons,
    i'm choosing the last method, but i know it consumes much memory

    i will appreciate your comments
    thanks
    ks
    keyser soze, May 6, 2008
    #1
    1. Advertising

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. THY
    Replies:
    1
    Views:
    8,330
    Frank Drebin
    Aug 23, 2003
  2. =?Utf-8?B?RWFybCBUZWlncm9i?=

    Does session cookie persist when after session times out?

    =?Utf-8?B?RWFybCBUZWlncm9i?=, Jul 28, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    602
    Mike Newton
    Jul 28, 2004
  3. Dew Baboeram

    session variables don't persist

    Dew Baboeram, Aug 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,167
    Kevin Spencer
    Aug 20, 2004
  4. Raed Sawalha

    session variables don't persist ,why?

    Raed Sawalha, Sep 30, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,206
    Hermit Dave
    Sep 30, 2004
  5. =?Utf-8?B?QWlkYXMgUGFzaWxpcw==?=

    Session State doesn't persist after postback (code: C#)

    =?Utf-8?B?QWlkYXMgUGFzaWxpcw==?=, Sep 15, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    6,031
    Bruce Barker
    Sep 15, 2005
Loading...

Share This Page