Results 1 to 2 of 2

Thread: Session

  1. #1
    Join Date
    Dec 1969

    Default Session

    How ASP+ overcome the disadvantages of session variables of ASP?

  2. #2
    Doug Seven Guest

    Default RE: Session

    Session State can be managed in a couple ways in ASP+. By default it is handled by passing a hidden field on the page to the client. This is called VIEWSTATE. All the session data is passed to the client, and then on subsiquent requests, passed back to the server. You can View Source from the browser and see the VIEWSTATE field.<BR><BR>The other is through the use of a State Store. There are 2 state stores, the ASP+ State Store, which maintains the Session data in memory, out-of-process from your ASP+ app. The ASP+ State Store can be partitioned accross multiple servers in a web farm. Regardless of the server the client hits, their state data is available through the ASP+ State Store. If on server goes down, the client is bounced to a different server, state is maintained, and the client never knows what happened.<BR><BR>SQL State Store is similar to the ASP+ State Store, but enables the storing of stateful data in your SQL Server Database.<BR><BR>Doug Seven<BR>CodeJunkies.Net /<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts