| pop art essay | | soapstone essay | famous person essay Difference between Cookies and Session
Results 1 to 4 of 4

Thread: Difference between Cookies and Session

  1. #1

    Default Difference between Cookies and Session

    Difference between Cookies and Session:

  2. #2
    Join Date
    Jun 2013


    The main difference between a session and a cookie is that session data is stored on the server, whereas cookies store data in the visitor's browser. Sessions are more secure than cookies as it is stored in server.Cookie can be turn off from browser.
    Cheap VPS Hosting | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop Access
    Cheap Dedicated Servers | Linux Dedicated Server Hosting

  3. #3


    Cookies and Sessions are used to store information. Cookies are only stored on the client-side machine, while sessions get stored on the client as well as a server.
    A session creates a file in a temporary directory on the server where registered session variables and their values are stored. This data will be available to all pages on the site during that visit.
    A session ends when the user closes the browser or after leaving the site, the server will terminate the session after a predetermined period of time, commonly 30 minutes duration.
    Cookies are text files stored on the client computer and they are kept of use tracking purpose. Server script sends a set of cookies to the browser. For example name, age, or identification number etc. The browser stores this information on a local machine for future use.
    When next time browser sends any request to web server then it sends those cookies information to the server and server uses that information to identify the user.

  4. #4
    Join Date
    Feb 2016


    Session & Cookies both are used to store the information for short time in a temporary file.

Similar Threads

  1. Differences between sessionstorage, localstorage and cookies
    By sinelogixtech in forum Web Design Solutions
    Replies: 2
    Last Post: 11-20-2018, 07:45 AM
  2. What is Difference Between SEO and SMO?
    By stuartspindlow in forum Business Tools
    Replies: 8
    Last Post: 10-15-2018, 07:45 AM
  3. What is the difference between SEO and SEM?
    By stuartspindlow in forum Business Tools
    Replies: 7
    Last Post: 09-26-2018, 02:34 AM
  4. Difference between ASP and
    By addisoncave in forum Web Design Solutions
    Replies: 6
    Last Post: 12-02-2017, 10:38 AM
  5. How to enable cookies in Chrome?
    By ORLOVA in forum Software & Hardware
    Replies: 1
    Last Post: 09-16-2017, 05:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts