Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which is the best state management to use in asp.net application? i want to know it i am new to development site we are using sessions for this

i have website using products and we are maintaining sessions so it takes lots of time and i have around 22 thousand products with images also tell me how to bind images ? thanks in advance.........
Posted
Comments
Raju Bollam 5-Jul-13 4:52am    
If u want to maintain entire ur website level use session and if u want use with in page level u can use view state and and viewstate memory is less compare to session

and mostly u have to clear the sessions

otherwise it's take more time when executing the a project.
Dholakiya Ankit 5-Jul-13 5:26am    
ok thanks
Samresh.ss 5-Jul-13 5:34am    
Here is a good article on session management http://www.codeproject.com/Articles/416137/Understanding-Session-Management-Techniques-in-ASP
Bikash Prakash Dash 5-Jul-13 6:50am    
There are different State Management used for different purpose, for which purpose you want to use state management ?
Dholakiya Ankit 5-Jul-13 8:03am    
i use it for binding products to entire shopping website

Actually it depends upon your requirement. Implementing state management is a very delicate issue as it covers performance, security, consistency and reliability. This website has 9,955,587(as of now) members and most of them have images. You never have any problem regarding its performance. State management technique also depends upon what kind of application you have is(Web Farm, Web Garden or a simple web application). So I would suggest you to evaluate what is your requirement and then come back with specifics. Otherwise you will not get the accurate response. You may end up using a technique that is really not required for the simplest of requirement.
 
Share this answer
 
v2
My advice is to go for Session management in the database if your application is going to be used by hundred of thousands of users and web cluster is used for load distribution.
 
Share this answer
 
you can use Cookies,Session,QueryString as per your need.

to explain in brief please visit it...:)

Beginners Introduction to State Management Techniques in ASP.NET[^]
 
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