Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

State Management - Session, ViewState, Cookies, Cache

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

610 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