ASP+ session state management


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: ASP+ session state management

Hybrid View

  1. #1
    Ariel Azia Guest

    ASP+ session state management


    Hi All!

    all the articles i've found discuss session state management at an overview
    level, i would very much appreciate a link to a more detailed explaination
    of how the session state work in NGWS.

    questions regarding the session state:
    do i have to implement a session object to support storing it out of process?
    how do i store the state of more complex data objects , assuming they are
    persistent? can i make the new session object aware that the refered object
    in the contents collection should be (un)persisted? the persistance tree
    can be more than two level deep.

    also, i need to implement a state less solution as soon as possible, how
    long will i wait for the NGWS extensions and the new session state?

    thanks,
    ariel

  2. #2
    Thomas Tomiczek Guest

    Re: ASP+ session state management


    "Ariel Azia" <arielazia@earthling.net> wrote:
    >
    >Hi All!
    >
    >all the articles i've found discuss session state management at an overview
    >level, i would very much appreciate a link to a more detailed explaination
    >of how the session state work in NGWS.
    >
    >questions regarding the session state:
    >do i have to implement a session object to support storing it out of process?


    No, its in there, like in ASP.

    >how do i store the state of more complex data objects , assuming they are
    >persistent? can i make the new session object aware that the refered object
    >in the contents collection should be (un)persisted? the persistance tree
    >can be more than two level deep.


    Just add he object to the session, it (and all referenced objects) will be
    saved IF THEY ARE SERIALISABLE. Serialisation is handled automatically, you
    just mark a class as serialisable.

    >also, i need to implement a state less solution as soon as possible, how
    >long will i wait for the NGWS extensions and the new session state?


    Early August, maybe another two weaks max. Its very stable already.

    Thomas

  3. #3
    Chris Kinsman Guest

    Re: ASP+ session state management


    "Ariel Azia" <arielazia@earthling.net> wrote in message
    news:39843da6$1@news.devx.com...

    > questions regarding the session state:
    > do i have to implement a session object to support storing it out of

    process?

    No. Built in.

    > how do i store the state of more complex data objects , assuming they are
    > persistent?


    All data types in .NET are persistable. They know how to serialize
    themselves into the session.

    can i make the new session object aware that the refered object
    > in the contents collection should be (un)persisted? the persistance tree
    > can be more than two level deep.


    Not sure I understand this one....





  4. #4
    Doug Seven Guest

    Re: ASP+ session state management



    >> questions regarding the session state:
    >> do i have to implement a session object to support storing it out of

    >process?


    2 out-of-process session state stores ship with ASP+...ASP+ State Store,
    and SQL State Store. To run out of process, you do not instantiate an object,
    but rather, run another process on your server.

    There has been lots of questions on Session State...ASPNextGen.com will launch
    in a couple weeks, and by month end will will have a tutorial on out-of-process
    Session State Management.

    Doug Seven
    CodeJunkies.Net / ASPNextGen.com
    doug.seven@codejunkies.net


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center