Persistent Cookies vs. session cookies

Discussion in 'Java' started by Andy Fish, Nov 6, 2003.

  1. Andy Fish

    Andy Fish Guest

    Hi all (please excuse the crosspost but I can't find an HTTP group as such)

    I am trying to find out the difference between persistent cookies and
    session cookies. I have found plenty of documentation saying what the
    differences are from the user point of view, but I want to know how the
    server and browser distinguish between the two types in terms of HTTP
    protocol.

    I have read RFC 2965 and the Java servlet programming documentation and I
    can't find any information as to how I should specify (or detect) whether a
    specific cookie is persistent or session.

    Any clues please?

    Andy
     
    Andy Fish, Nov 6, 2003
    #1
    1. Advertisements

  2. Fredrik Lindner, Nov 6, 2003
    #2
    1. Advertisements

  3. Andy Fish

    Andy Fish Guest

    Thanks Fredrik,

    Actually I had seen this document but I kind of skipped over it on the
    grounds that it is (a) preliminary, (b) by netscape and (c) presumably quite
    old. I was expecting some RFC or w3c document to give a definitive
    statement. Anyway, I'm happy to accept it as the correct answer.

    Thanks for the quick response - call me an optimist but IMHO usenet is as
    good today as it's ever been.

    "Fredrik Lindner" <> wrote in message
    news:bod7si$1b26q7$-berlin.de...
    > Read the cookie specification, and epecially the section about the cookie
    > expires field.
    > http://wp.netscape.com/newsref/std/cookie_spec.html
    >
    > /Fredrik
    >
    >
     
    Andy Fish, Nov 6, 2003
    #3
  4. Your points a, b and c are quite on the spot. I always treat the document as
    a recomendation rather than a spec.

    /Fredrik


    "Andy Fish" <> wrote in message
    news:bypqb.1861$...
    > Thanks Fredrik,
    >
    > Actually I had seen this document but I kind of skipped over it on the
    > grounds that it is (a) preliminary, (b) by netscape and (c) presumably

    quite
    > old. I was expecting some RFC or w3c document to give a definitive
    > statement. Anyway, I'm happy to accept it as the correct answer.
    >
    > Thanks for the quick response - call me an optimist but IMHO usenet is as
    > good today as it's ever been.
    >
    > "Fredrik Lindner" <> wrote in message
    > news:bod7si$1b26q7$-berlin.de...
    > > Read the cookie specification, and epecially the section about the

    cookie
    > > expires field.
    > > http://wp.netscape.com/newsref/std/cookie_spec.html
    > >
    > > /Fredrik
    > >
    > >

    >
    >
     
    Fredrik Lindner, Nov 6, 2003
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joey Powell
    Replies:
    4
    Views:
    5,294
    Joey Powell
    Dec 26, 2003
  2. hochun

    non-persistent cookies

    hochun, Jun 2, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    457
    John Saunders
    Jun 2, 2004
  3. hochun

    Re: non-persistent cookies

    hochun, Jun 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    530
    John Saunders
    Jun 3, 2004
  4. hochun

    non-persistent cookies

    hochun, Jun 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    482
    Hans Kesting
    Jun 3, 2004
  5. =?Utf-8?B?QnJpYW4gS2l0dA==?=

    How do you read persistent cookies?

    =?Utf-8?B?QnJpYW4gS2l0dA==?=, May 17, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    4,568
    www.VoiceInformation.com
    Jun 14, 2005
  6. =?Utf-8?B?dmJNYXJr?=

    There seems to be a bug in persistent cookies.

    =?Utf-8?B?dmJNYXJr?=, Aug 8, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    395
    =?Utf-8?B?dmJNYXJr?=
    Aug 8, 2005
  7. _Who
    Replies:
    7
    Views:
    3,134
  8. gk
    Replies:
    7
    Views:
    1,381
    Tom Anderson
    Oct 12, 2010
Loading...