Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hey Everyone,

I have an application where I have been trying multiple different things because I deal with such slow connections. I have an ASP.NET 4.0 website with webforms and controls and classes, pretty standard. I have tried to fill up all the user data and store it in the session and the viewstate by using a multi set query where I pull all the information right up front.

I have had great results in my local but on the webserver not so much. I am hosting the SQL on the host and VMs to host the code with IIS7. Any ideas and any ideas on the adverse effects of having to big of a session?

I have also another scenario where I just pull the most minimal of data but I need to go back to the DB more often than just storing it in the session.

Any help would be great
Posted
Updated 17-Jun-14 11:55am
v2
Comments
Sergey Alexandrovich Kryukov 17-Jun-14 18:20pm    
Help with what? Not with making your connection faster, I hope... :-)
To advise something, one would need to inspect your solution for performance bottleneck and other things. We have no idea what you project is...
—SA
bobb024 17-Jun-14 18:22pm    
the connection is at the will of the users of the application and their budget restrictions.

I am more looking for ideas if the session gets to big or viewstate then you will encounter an issue but if no advice to offer, than thank you
What such big things you are storing in Session?
bobb024 17-Jun-14 21:54pm    
user and application data
bobb024 2-Jul-14 12:41pm    
so basically I have built three scenarios. Locally instantiating the object and having numerous round trips but storing nothing in the viewstate. Then another where I am grabbing data and storing them in the viewstate on each different page while the last has the data storing in the session and using that throughout the application. The question I have, is for a slow connection (512 or less) which operating of storing and passing data is most preferred or is there any testing tools you can all recommend to test this

1 solution

This could help you on few things.
Improve Everything[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900