Re: Saving DataTable to session vs saving a Custom object.
From: John Kandell (someone_at_home.now)
Date: 12/07/04
- Next message: TC: "Re: How to Control Multiple Windows from within the Same ASP.Net Application"
- Previous message: Steve C. Orr [MVP, MCSD]: "Re: I need to run a vb.net or aspx.net file every 10 seconds."
- In reply to: Matt Berther: "Re: Saving DataTable to session vs saving a Custom object."
- Next in thread: John Kandell: "Re: Saving DataTable to session vs saving a Custom object."
- Reply: John Kandell: "Re: Saving DataTable to session vs saving a Custom object."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 6 Dec 2004 22:25:01 -0500
Hi
The data is unique per user.
And we are using SQL server as storage.
Also, the requirement is to keep the HTML as small as possible, so, we can't
use ViewState either.
John
"Matt Berther" <mberther@hotmail.com> wrote in message
news:6573723632379608441390505@news.microsoft.com...
> Hello John,
>
> Does it have to be saved in Session? Is the data unique per user? Or would
> HttpContext.Application or HttpContext.Cache be a better spot for it?
>
> Large objects in session dont scale very well...
>
> --
> Matt Berther
> http://www.mattberther.com
>
> > Hi,
> >
> > Would someone be able to shed some light on what is the cost of saving
> > a DataTable to session vs saving a custom object of the same data.
> >
> > For example, let's say I had a DataTable with 1000 records and each
> > record had 10 columns, how much extra cost is involved in saving that
> > vs, a custom object with 10 get/set properties in a ArrayList holding
> > 1000 instances of the object with the same data?
> >
> > Looking forward to your response.
> >
> > John
> >
>
>
- Next message: TC: "Re: How to Control Multiple Windows from within the Same ASP.Net Application"
- Previous message: Steve C. Orr [MVP, MCSD]: "Re: I need to run a vb.net or aspx.net file every 10 seconds."
- In reply to: Matt Berther: "Re: Saving DataTable to session vs saving a Custom object."
- Next in thread: John Kandell: "Re: Saving DataTable to session vs saving a Custom object."
- Reply: John Kandell: "Re: Saving DataTable to session vs saving a Custom object."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|