473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Large Data pass page by page in ASP.Net

Hi All,

Thanks for reading my post! :-)

I would like to ask a question about passing data in ASP.Net.
Currently, I use a session variable to keep this data(string) to allow
several pages to reference it. However, the application is going to be
complicated and data is increasing it size. The application performance
is deteriorating day by day.

The size of the data can be up to about 150kb, and all of them is
useful and cannot be removed. Also, the data is different for each user
and changing each the user visit the page.

Apart from session variable, what else can give the same functionality
but better performance?

Thanks in advance for any comment and suggestion!!!

Ivan

Nov 19 '05 #1
2 1497

<iv*****@hkem.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi All,

Thanks for reading my post! :-)

I would like to ask a question about passing data in ASP.Net.
Currently, I use a session variable to keep this data(string) to allow
several pages to reference it. However, the application is going to be
complicated and data is increasing it size. The application performance
is deteriorating day by day.

The size of the data can be up to about 150kb, and all of them is
useful and cannot be removed. Also, the data is different for each user
and changing each the user visit the page.

Apart from session variable, what else can give the same functionality
but better performance?


Session variables have the best performance available, 150kb is not really a
lot. A web server with just 1G of memory can support thousands of 150kb
sessions.

Do you have a 150kb string? Stuffed with different data? If so, don't do
that. You can put objects in the session, the prohibition against it was a
limitation of "old" ASP, and no longer exists. Otherwise, use a profiler to
find your performance problems.

David

Nov 19 '05 #2
Thanks David!!!

Maybe you are right. In fact I haven't found out what is the real cause
of the poor performance.
I will try to use a profiler as you suggest.

Thanks again!

Ivan

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: michaaal | last post by:
If I use a form to pass data (say, for example, through a textbox) the data seems to be limited to somewhat smaller amounts. What should I do if I want to pass a large amount of data? For example...
2
by: Roy Padgett | last post by:
I have a combo box where users select the customer name and can either go to the customer's info or open a list of the customer's orders. The RowSource for the combo box was a simple pass-through...
24
by: Salad | last post by:
Every now and then I see ads that state something like "Experience with Large Databases ...multi-gig...blah-de-blah" And I have to laugh. What's the difference between a large or small database? ...
1
by: Doug Taylor | last post by:
I'm VERY new to C# and still a bit clumsy with COM. I'm tasked to use C# to design and create an object that can be called from VC6, VB6, and .NET applications (and possibly even from plain old...
1
by: terry | last post by:
Hi, I have a need to pass a large data chunk (> 1024 bytes) between web forms that reside on different web applications (say one application is http:\\localhost\website1\page1.aspx while the...
11
by: Macca | last post by:
Hi, I'm writing an application that will pass a large amount of data between classes/functions. In C++ it was more efficient to send a pointer to the object, e.g structure rather than passing...
11
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
4
by: computer_guy | last post by:
Hi Everyone, I am writing an HTMP page like below: ---------------Dynamic HTML Page report.aspx----------------------- 1. Complicated algorithm to generate data and store it in memory ...
4
by: =?Utf-8?B?U2VyZ2Vp?= | last post by:
Dear staff Can I get your assistance with \3GB (LARGEADDRESSAWARE) switch in mixed mode process built by VS 2008, please? I have a mixed mode application: C# GUI calling native C++ DLL through...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.