Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Persisting data between form postbacks
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00721469
Message ID:
00721673
Views:
7
Cathi,

Which would be the best technique? I always use ViewState. Is one more efficient than the other? It would seem that there is a whole lot of overhead of creating, writing and reading an XML table. Is ViewState just as heavy behind the scenes? How would you clean up the XML files once you were 'Done'?

Just Wondering,
Doug
>One approach you can take is to use Data Caching. The data would be persisted on the server as XML files. You would use the SessionID to isolate the caching on a per session basis. Keep in mind that this approach does not work on web farms. Here is a link to an article that explains how this would work:
>
>http://www.dotnet247.com/247reference/a.aspx?u=http://msdn.microsoft.com/msdnmag/issues/01/12/cutting/cutting0112.asp
>
>>All,
>>
>>I am looking for a way to persist a dataset between postbacks without using session variables.
>>
>>Is there a best practice for this?
>>
>>TIA
>>
>>Rex
Douglas Osborne
Don't spend your life just wishing - http://www.AllGiftRegistry.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform