Solved

State Management - Session, ViewState, Cookies, Cache

Posted on 2011-03-09
3
1,130 Views
Last Modified: 2012-08-14
Hello Experts !

My Query:

1) What Is State Management ? How we achieve it in web dev project ?

2) Diff b/w sessions, cookies, application state, query string, cache, in simple words, where & when or at what scenarios do we use them individually ?

3) Diff Types of Modes in Session & Cookie ? In which file of the application do we modify or mention the mode ?

4) What happens if we disable the cookie in our application ? How information is saved or passed, any default ?

5) What is the default time for a session object ? & how can we modify it ?

6) What is application state ?

7) How to save and retrieve values from application state, cookies, session, viewstate ?

Thanx in advance for providing me your valuable time 2 help me out !
0
Comment
Question by:mdkshah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Expert Comment

by:robasta
ID: 35092280
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 35092347
That are a lot question (I only can give some good links with information, because it's just too much to post here) .
I think it's better to search a good book ....

1. ASP.NET State Management
    http://en.csharp-online.net/ASP.NET_State_Management

2. Session ,Caching ,View state and Query string
   http://forums.asp.net/t/1520451.aspx/1?Session+Caching+View+state+and+Query+string

3. The Difference Between Cookies and Sessions
     http://php.about.com/od/learnphp/qt/session_cookie.htm

4. ASP.NET Session State (config.web file used to configure the session state settings for an ASP.NET application)
     http://msdn.microsoft.com/en-us/library/ms972429.aspx

6. ASP.NET Application State Overview
    http://msdn.microsoft.com/en-us/library/ms178594.aspx

7. Reading and Writing Cookies in ASP.NET and C#
    http://www.aspnettutorials.com/tutorials/network/cookies-csharp.aspx
 
    Code: Reading a Value From View State (Visual C#)
       http://msdn.microsoft.com/en-us/library/aa287536(v=vs.71).aspx
    Code: Saving a Value in View State (Visual C#)
       http://msdn.microsoft.com/en-us/library/aa287543(v=vs.71).aspx

    Reading And Writing A Session  
        http://www.snippetbank.net/detail/snippetdetail/9-aspcsharp/20-statemanagement/159-Reading-And-Writing-A-Session.html

0
 

Author Comment

by:mdkshah
ID: 35114594

Closing Comment


Hello Experts !

Thanx Dhaest for quick solution. The information provided by you was very useful for easy understanding.

Best Regards !
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question