Answer Posted / santoshkumar
When a user connects to an ASP.NET application, a unique session ID will be affiliated with the user. If nothing is put in the session however, no cookie will be sent to the browser. This means that the user will get a new session ID the next time a new url is open or the page is refreshed. If something is put on the session (HttpContext.Current.Session["Hello] = "hello") however, ASP.NET will issue a cookie called ASP.NET_SessionId. This cookie contains the user's session ID and the cookie will expire at the end of the session (when you close your browser).
If the user logs in, a second cookie will be issued. This cookie is usually called .ASPXAUTH, and states that the user is logged in. It's encrypted, but probably contains some information about who the user is etc. This cookie sets ASP.NET apart from other web applications, because login-information is usually affiliated with the session ID.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to fetch a data from one table to another table in asp.net ?
Why is the standalone environment only useful during the development process?
How does windows service lifecycle differ from a .standard. Exe?
Which tool you have done?
What is client side state management?
What is the difference between application state and session state in asp net?
How to improve performance of web application asp.net mvc? : Asp.Net MVC
Can we use a static function with a non-static variable?
What is httpresponse?
What are strong names?
Write a code for passing ArrayList in Web API?
Explain how is a property designated as read-only?
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
Explain About WebService
Explain some of the major built-in objects in asp.net