Doubt in Session and Cookies
-
Hi All, Greetings.Can any one tell me clear about what is session and what is the difference between session and cookies? Thanks in advance Babu
-
Hi All, Greetings.Can any one tell me clear about what is session and what is the difference between session and cookies? Thanks in advance Babu
Session is saved in memory on the server, cookies are small text files saved on the client.
-
Hi All, Greetings.Can any one tell me clear about what is session and what is the difference between session and cookies? Thanks in advance Babu
You have to make the distinction between session, session and Session: :: A session in the browser is as long as you have a web site open. :: A session for the server is until it assumes that the user went away, usually 20 minutes after the last request. :: The Session object is the object that the server uses to keep track of a session. As you are comparing the session to cookies, I assume that you don't mean sessions at all, but session variables. Session variables is stored in the Session object on the server. Cookies is stored in the browser (or by the browser in a file) and are sent to the server in every request. --- b { font-weight: normal; }