Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
docu...
Week Target Achieved
1 40 12
2 40 18
3 40 20
Typing Speed
Jobs Applied
# Company Designation Applied Date Current Status
1
2
3
State management in asp.net
ASNA.C.A
kunjulaloos@gmail.com
www.facebook.com/userna
me
twitter.com/username
in.linkedin.com...
A new instance of the Web page class is created each
time the page is posted to the server. In traditional
Web programming...
features
• View state
• Control state
• Hidden fields
• Cookies
• Query strings
• Application state
• Session state
• Prof...
client based
1.View State
The ViewState property provides a dictionary object
for retaining values between multiple reques...
2.Control State
Sometimes you need to store control-state data in
order for a control to work properly.
The ControlState p...
4.Cookies
A cookie is a small amount of data that is stored
either in a text file on the client file system or in-
memory ...
Server based
1.Application State
Application state is a global storage mechanism that is
accessible from all pages in the ...
2. Session State
Session state is similar to application state, except
that it is scoped to the current browser session. I...
3. Profile Properties
ASP.NET provides a feature called profile properties,
which allows you to store user-specific data. ...
THANKS
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.co...
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, N...
State management in asp.net
Upcoming SlideShare
Loading in...5
×

State management in asp.net

1,115

Published on

State management in asp.net

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,115
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

State management in asp.net

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. Week Target Achieved 1 40 12 2 40 18 3 40 20 Typing Speed
  3. 3. Jobs Applied # Company Designation Applied Date Current Status 1 2 3
  4. 4. State management in asp.net ASNA.C.A kunjulaloos@gmail.com www.facebook.com/userna me twitter.com/username in.linkedin.com/in/profilena me 9048331776
  5. 5. A new instance of the Web page class is created each time the page is posted to the server. In traditional Web programming, this would typically mean that all information associated with the page and the controls on the page would be lost with each round trip. To overcome this inherent limitation of traditional Web programming, ASP.NET includes several options that help you preserve data on both a per-page basis and an application-wide basis.
  6. 6. features • View state • Control state • Hidden fields • Cookies • Query strings • Application state • Session state • Profile Properties
  7. 7. client based 1.View State The ViewState property provides a dictionary object for retaining values between multiple requests for the same page. This is the default method that the page uses to preserve page and control property values between round trips.
  8. 8. 2.Control State Sometimes you need to store control-state data in order for a control to work properly. The ControlState property allows you to persist property information that is specific to a control and cannot be turned off like the ViewState property. 3. Hidden Fields ASP.NET allows you to store information in a HiddenField control, which renders as a standard HTML hidden field. A hidden field does not render visibly in the browser. A hidden field acts as a repository for any page-specific information that you want to store directly in the page.
  9. 9. 4.Cookies A cookie is a small amount of data that is stored either in a text file on the client file system or in- memory in the client browser session. It contains site-specific information that the server sends to the client along with page output. 5.Query Strings A query string is information that is appended to the end of a page URL.
  10. 10. Server based 1.Application State Application state is a global storage mechanism that is accessible from all pages in the Web application. Application state is stored in a key/value dictionary that is created during each request to a specific URL. You can add your application-specific information to this structure to store it between page requests.
  11. 11. 2. Session State Session state is similar to application state, except that it is scoped to the current browser session. If different users are using your application, each user session will have a different session state. Session state is structured as a key/value dictionary for storing session-specific information that needs to be maintained between server round trips and between requests for pages.
  12. 12. 3. Profile Properties ASP.NET provides a feature called profile properties, which allows you to store user-specific data. This feature is similar to session state, except that the profile data is not lost when a user's session expires. The ASP.NET profile allows you to easily manage user information without requiring you to create and maintain your own database.
  13. 13. THANKS
  14. 14. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  15. 15. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×