?
Solved

State Management - Session, ViewState, Cookies, Cache

Posted on 2011-03-09
3
Medium Priority
?
1,142 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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