what is session,cokkies in asp.net??
Answers were Sorted based on User's Feedback
Answer / thakur seema b.
Session is used to store any type of data in the memory of
the server.This information is protected because it is
never passed to the client and is uniquely bound to a
specific session.
Cookies are small files that are created on client's hard
drive(or, if they are temporary, in the web browser's
memory.)
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / varma
session are used in asp.net they provide us the security by
providing us with session id in the case of cokkies the can
travel any where in the web page a website should 20cokkies
only in it because of security form this u can understand
about this a little
| Is This Answer Correct ? | 1 Yes | 0 No |
Session is used to store any type of data in the memory
Cookies are small files that are created on client's hard
drive
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
Answer / animesh kumar ghosh
Whenever client sends a request to server for first time a server create a small amount of memory called session memory. In short, a dedicated memory created for every client is called session memory.
A cookie is key value pair created on the server and stored on the client machine in a file.cookie is of two type-
1. persistent:-stored ion a physical file on the client hard disk and which is common to all the browser instances.
2.Non persistent:-stored within a browser instance.
| Is This Answer Correct ? | 1 Yes | 1 No |
1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5
What is advantage of code behind coding in ASP.NET?
0 Answers Sans Pareil IT Services,
Which dll handles the request of .aspx page?
how many character send in one sms forget 160limit and think about gateway allowed
What is in a session cookie?
What is difference Between Authentication and authorization?
Where would you use an ihttpmodule, and what are the limitations of any?
What is a session in programming?
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .
What is Active Directory? What is the namespace for that?
What is caching? What are different ways of caching in asp.net?
What is web.config and machine.config ?
3 Answers Collabor, NDPL, TCS,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)