Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Persisting complex data between calls

Reply
Thread Tools

Persisting complex data between calls

 
 
Dave Harvey
Guest
Posts: n/a
 
      05-22-2009
I am trying to write a WebControl version of an existing .NET Windows Forms
control, and to re-use as much of my existing code as possible. This
requires the server to hold and use complex existing data objects, which
cannot easily be serialised or quickly re-created - i.e. I need to keep the
objects themselves live in the server, rather than the serialised data
necessary to re-create them. This will be used in an application for a small
number of local users, and web server resources are not a significant issue
(though of course a means of clearing data unused for 30 minutes or so would
be necessary eventually).

So - I need a way to associate one or more objects with a session key, and
to be able to retrieve (and modify) those objects in subsequent invocations
of the page. As the data could be several Megabytes, and response times need
to be very short, I definitely need a RAM solution, rather than writing
things out to app_Data.

Is there a viable solution to this requirement?
--
Dave Harvey
Medical Connections
 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      05-22-2009

"Dave Harvey" <> wrote in message
news:45B132A6-A483-4C78-83BB-...
>I am trying to write a WebControl version of an existing .NET Windows Forms
> control, and to re-use as much of my existing code as possible. This
> requires the server to hold and use complex existing data objects, which
> cannot easily be serialised or quickly re-created - i.e. I need to keep
> the
> objects themselves live in the server, rather than the serialised data
> necessary to re-create them. This will be used in an application for a
> small
> number of local users, and web server resources are not a significant
> issue
> (though of course a means of clearing data unused for 30 minutes or so
> would
> be necessary eventually).
>
> So - I need a way to associate one or more objects with a session key, and
> to be able to retrieve (and modify) those objects in subsequent
> invocations
> of the page. As the data could be several Megabytes, and response times
> need
> to be very short, I definitely need a RAM solution, rather than writing
> things out to app_Data.
>
> Is there a viable solution to this requirement?


It's called a .NET state server of either the state server being a MS SQL
server or the server is hosting a .NET state service that's holding session
state for session objects.

Why try to reinvent the wheel?


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4097 (20090522) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: tmobile block sip calls , is there a port change setting at pbxes.orgthat would enable the voip calls to come through via mobile data? David Woolley UK VOIP 0 07-13-2011 08:04 PM
Re: tmobile block sip calls , is there a port change setting atpbxes.org that would enable the voip calls to come through via mobile data? Brian A UK VOIP 0 07-12-2011 12:06 AM
Persisting Data between pages bozzzza@lycos.co.uk ASP .Net 4 05-25-2007 08:05 AM
Complex properties (Button) not persisting in webcontrol Phillyboy123 ASP .Net Building Controls 1 01-15-2004 07:55 PM
Complex properties (Button) not persisting in webcontrol Phillyboy123 ASP .Net Web Controls 0 11-19-2003 02:20 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57