Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2005, 10:04 AM
Authorized User
 
Join Date: Jul 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default maintaining Session state

I'm optimizing a large report application which keeps a specific user's tables as DataSets in Session variables. For better performance, is it better to keep several datasets or to have few datasets with datatables in them? Any advice would be appreciated. -Yubo

 
Old January 24th, 2005, 11:08 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I would think have fewer dataset objects, but I would think both are going to affect performance similarly. You may have better performance by putting it into the cache.

Brian
 
Old January 24th, 2005, 12:04 PM
Authorized User
 
Join Date: Jul 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the advice. Cache cannot be used in this scenario since every user has his/her unique Session variables. Cache is going to make their getting the same dataset.
-Yubo

 
Old January 26th, 2005, 07:14 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

what are the performance measures you do so you feel you need to make changes for?

Ahmed Ali
Software Developer
 
Old January 27th, 2005, 09:37 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I put data in the cache; however, I always prefix the cache key with their user name, which ensures uniqueness. That is another approach.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
maintaining session state in C# grs General .NET 0 January 13th, 2005 03:46 AM
Having trouble with Maintaining Session State kmattera Classic ASP Basics 0 December 7th, 2004 08:47 PM
Maintaining State in Tables MikeSchnell ASP.NET 1.0 and 1.1 Basics 1 March 25th, 2004 01:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.