Re: DataSet across more than 1 page

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 08/06/04


Date: Fri, 6 Aug 2004 15:41:27 -0400


"Mike Newton" <MNewton@discussions.microsoft.com> wrote in message
news:OLCu2o7eEHA.592@TK2MSFTNGP11.phx.gbl...
> Yes, it does.
>
> Just because it is ASP.NET does not mean that it magically remembers
> object data without using hardware. Datasets are heavy objects to
> store, as well. Ryu might want to try just storing the tables that are
> needed, and not the dataset.
>
> Any time something is stored in session, resources are used. Datasets
> have a lot more excess garbage than DataTables do, which makes storing
> them in session iffy.

Please provide us a link to some research on this.

> ASP.NET in IIS 5 (not 6) still stores state in a single process. It's
> separate from the IIS process, stability is improved, but there still
> are issues.

ASP.NET stores session state in the same process, in another stateserver
process, or in SQL Server, depending on configuration. If there are issues,
please elaborate upon them.

In particular, the most serious issue with ASP session state is not present
in the case of storing a DataSet in ASP.NET: there are no COM threading
issues.

-- 
John Saunders
johnwsaundersiii at hotmail


Relevant Pages

  • Impersonation Issue
    ... I'm storing their encrypted password in session state, ... the LogonUser method and succesfully impersonate their account. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Impersonation Issue
    ... I'm storing their encrypted password in session state, ... the LogonUser method and succesfully impersonate their account. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DataSet across more than 1 page
    ... object data without using hardware. ... store, as well. ... Ryu might want to try just storing the tables that are ... them in session iffy. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Session VS. ViewState For Small Value
    ... storing a small value in the ViewState vs. Session state. ... the 3rd obvious option - cookies. ...
    (microsoft.public.dotnet.framework.aspnet)