| | |
View state,Application and session
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jun 2008
Posts: 20
Reputation:
Solved Threads: 0
What is the purpose of view state,application and session and what is the difference among them?? i googled it but couldn't get exact idea .. i'm just a beginner.. help me plz
http://www.techfancy.co.cc | A Technology guide •
•
Join Date: Jun 2009
Posts: 124
Reputation:
Solved Threads: 11
View state is to store information temporarily. The life time is limited to the life time of the particular page. It is generally used to store the page fields.
Application state is global to the application regardless of the number of application instances. All instances share the same application state variables.
Each instance has its own session variables. They are stored at the server end. One use of session is to store the user login status, its privileges, etc.
Application state is global to the application regardless of the number of application instances. All instances share the same application state variables.
Each instance has its own session variables. They are stored at the server end. One use of session is to store the user login status, its privileges, etc.
HTTP is a stateless request-response protocol. In other words, client sends a request and the server responds. The state of client and server are not maintained or altered by the exchange and no record of the request is kept.
For implementing flexible business transactions across multiple requests and responses, we need two facilities:
1. Session - The server should be able to identify that a series of request from a single client from a single working "session".
2. State - The server should be able to remember information related to previous requests and other business decisions.
ASP.NET State Management includes:
1. Server side state management
Application, Session, Cache, Profile are objects used to manage
state at server side.
2. Client side state management
Cookies, Querystring, Hidden Fields, ViewState are example of
Client side state management.
You must read MSDN online pages for "ASP.NET State Management"
For implementing flexible business transactions across multiple requests and responses, we need two facilities:
1. Session - The server should be able to identify that a series of request from a single client from a single working "session".
2. State - The server should be able to remember information related to previous requests and other business decisions.
ASP.NET State Management includes:
1. Server side state management
Application, Session, Cache, Profile are objects used to manage
state at server side.
2. Client side state management
Cookies, Querystring, Hidden Fields, ViewState are example of
Client side state management.
You must read MSDN online pages for "ASP.NET State Management"
•
•
Join Date: Jun 2008
Posts: 20
Reputation:
Solved Threads: 0
@thewebhostingdi
I'm very much thank full to you for answering my each and every query
@adatapost
you really gave me a nice over view ...thank you very much!!
I'm very much thank full to you for answering my each and every query

@adatapost
you really gave me a nice over view ...thank you very much!!
http://www.techfancy.co.cc | A Technology guide ![]() |
Similar Threads
- Beginner in ASP.NET -- questions about state management (ASP.NET)
- Session problem in asp (ASP)
- Can Save Data but Unable to view unless restart application. (VB.NET)
- J2EE Architecture in Brief (JSP)
- session state not sticking (ASP)
- how does IIS deal wth session state? (ASP.NET)
- classic asp cookies: my view state just won't stay (ASP)
- ASP.Net Directory Problems (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: need to know
- Next Thread: Setting Multilingual Font for text box
Views: 787 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox child class compatible complex content contenttype control countryselector courier database datagrid datagridview datalist deployment development dgv dialog dropdown dropdownmenu dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash flv folder form gridview gudi identity iis image javascript languages list maps menu mobile mssql nameisnotdeclared novell opera order problem profile ratings redirect refer registration relationaldatabases response.redirect rows search security select serializesmo.table sessionvariables silverlight smoobjects software sql ssl tracking treeview typeof validatedate validation vb vb.net vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment wizard xsl






