Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How cookies are used to track a session?

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Thanked 0 Times in 0 Posts

    Default How cookies are used to track a session?

    Using cookies is the simplest and easiest way to track a session. A unique session id (stored in the form of cookie) is sent by the server to the client as a part of the response and the same session id saved with the client is sent to the server as a part of the request which helps the server to recognize the unique client session.

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: How cookies are used to track a session?

    Do you have a question? Seems you've simply lifted some text from a textbook (I am pretty sure in the author and publisher's mind, this is pure copyright infringement). If you have an actual question, please post it. Thread locked and all your other threads have been removed as they consist of a similar tone.

Similar Threads

  1. keep track of objects
    By keep smiling in forum Java Theory & Questions
    Replies: 4
    Last Post: February 20th, 2012, 03:44 PM
  2. setting cookies manually
    By dotanguy in forum Java Networking
    Replies: 2
    Last Post: July 2nd, 2010, 09:51 AM
  3. HTTPSession invalidation, Cookies
    By b00n in forum Java Servlet
    Replies: 0
    Last Post: March 16th, 2010, 04:43 PM
  4. Track the user session list
    By kalees in forum Java Servlet
    Replies: 3
    Last Post: October 24th, 2009, 02:34 PM
  5. Replies: 3
    Last Post: June 26th, 2009, 11:06 AM