Pranesh Nair
Pranesh Nair

Reputation: 313

SessionCookies n asp.net

I am new to ASP.Net i dont understand the concept of sessioncookies

What is a sessioncookie,what are the advantages of sessioncookie
whats is sessioncookie is all about,
how to create a sessioncookie,
how to retreive values from sessioncookies,
how to store values in sessioncookies.

i searched in net but i dont get clear idea about the sessioncookie concept can anyone pls clarify whats is sessioncookies and its concepts and provide some code samples if possible.

Thanks

Upvotes: 0

Views: 56

Answers (2)

immutabl
immutabl

Reputation: 6903

Take a look at this:

http://www.codeproject.com/KB/aspnet/ExploringSession.aspx

Upvotes: 1

Heinzi
Heinzi

Reputation: 172468

You can use the ASP.NET Session State to store information over multiple page requests. On MSDN, there's a nice introduction to the topic:

The session cookie is used to associate the user's browser session with the session state object of ASP.NET. It's basically a implementation detail that you (usually) don't need to worry about: Use the Session object and let ASP.NET worry about setting/retrieving and managing the associated cookie.

Upvotes: 2

Related Questions