Persistent Cookies vs. session cookies

A

Andy Fish

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
 
A

Andy Fish

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.
 
F

Fredrik Lindner

Your points a, b and c are quite on the spot. I always treat the document as
a recomendation rather than a spec.

/Fredrik
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top