473,473 Members | 2,097 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Store large amount of data

Hello all,
i wonder if anyone can help with the following: I have an aspx page
that uses javascript to load some data which the user will select by
check boxes. An object is created containing information re that
selection. What is the best way of storing this object so it can be
accessed even in a postback? (e.g. the user selects his products, goes
to the next step, changes his/her mind, goes back to the original page
and the page is no longer populated with the selected items). I have
considered storing the object that gets created in a Cookie, by
converting it to a string and back to an object when i need it, but the
limitation of 20 name/value combination is too small. Is HTTPHandlers
the only other option?

Thanks is advance for your help and suggestions

Sep 23 '05 #1
2 2008
"Kiki" <ko****@globet.com> skrev i meddelandet
news:11**********************@g43g2000cwa.googlegr oups.com...
Hello all,
i wonder if anyone can help with the following: I have an aspx page
that uses javascript to load some data which the user will select by
check boxes. An object is created containing information re that
selection. What is the best way of storing this object so it can be
accessed even in a postback? (e.g. the user selects his products, goes
to the next step, changes his/her mind, goes back to the original page
and the page is no longer populated with the selected items). I have
considered storing the object that gets created in a Cookie, by
converting it to a string and back to an object when i need it, but the
limitation of 20 name/value combination is too small. Is HTTPHandlers
the only other option?


Store the data server-side and use session variables, or store a key to the
server-side data in a cookie. Then populate the forms server-side.

--
Joakim Braun
Sep 24 '05 #2
Thanks for your post Joakim. I have considered what you said but i'd
like to see that as the last solution. I would prefer to do this
client-side using the server at a later stage, once the user wants to
place the order.

Sep 26 '05 #3

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

Similar topics

2
by: saurabh | last post by:
Hi All, I want to store the processed salary information in the data base. My requirement is as follows: 1.For each location for an employee , I have to pay/deduct different components (at...
2
by: serge | last post by:
My project is to automate testing of Stored Procedures of type SELECT (at least for now). I want to create a table where each stored procedure's input parameter values are entered and in another...
11
by: hoopsho | last post by:
Hi Everyone, I am trying to write a program that does a few things very fast and with efficient use of memory... a) I need to parse a space-delimited file that is really large, upwards fo a...
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...
7
by: Pim75 | last post by:
Hello, I want to store multiple records at once in a SQL database with a For..Next instruction like the sample code below: For counter = 0 To 100 Dim dbInsert As New SqlCommand( _ "INSERT...
2
by: sadf | last post by:
I need to use MySql to store really large amounts of data . but when i try to store ,text file in long text field with LOAD_FILE command, the error i got was like : "Data too long for...
16
by: Jack | last post by:
I need to process large amount of data. The data structure fits well in a dictionary but the amount is large - close to or more than the size of physical memory. I wonder what will happen if I try...
2
by: Sobin Thomas | last post by:
Hi All....... I am a beginner in asp.net.I need your help.I have a gridview control in my Default.aspx page.I use data adapter to fill a datatable and then I set the datasource of the gridview as...
0
by: jcatubay | last post by:
I have a function that returns a list more than 200000 objects and the object has 37 fields. I added the wcf as a web reference so i dont have to add any configuration item in my web apps config...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.