Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Doubt in Session and Cookies

Doubt in Session and Cookies

Scheduled Pinned Locked Moved ASP.NET
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ChennaiBabu
    wrote on last edited by
    #1

    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

    P G 2 Replies Last reply
    0
    • C ChennaiBabu

      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

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Session is saved in memory on the server, cookies are small text files saved on the client.

      1 Reply Last reply
      0
      • C ChennaiBabu

        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

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        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; }

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups