Which is the best session management system in ASP.Net - viewstate, cookies, application, Urlencoding? Justify

Showing Answers 1 - 6 of 6 Answers

b.narasimharaju

  • Aug 25th, 2007
 

View state

  Was this answer useful?  Yes

kirangiet

  • Oct 21st, 2009
 

First of all the question is wrong.


Viewstate, cookies, application, Urlencoding are State Management Techniques
not Session Management Techniques.  Session Management Techniques are
Inproc, StateServer and SQLServer.  Comming to which one is best depends
upon the scenario.


State Management Techniques are mainly divided into two categories
1) Client Side State Management Techniques
- QueryString
- Cookies
- HiddenField
- ViewState
- ControlState
- HttpContext.Current.Item (Newly Introduced in .NET 2.0)


2) Server Side State Management Techniques
- Application Object
- Sessions
- InProc
- OutProc
- StateServer
- SQLServer
- Cache Object
- Profile Properties (Newly Introduced in .NET 2.0)


All of them have their advantages and disadvantages. So we should pick one of
them based on our requirement.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions