Persistent Cookies vs. session cookies

This is a discussion on Persistent Cookies vs. session cookies within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi all (please excuse the crosspost but I can't find an HTTP group as such) I am trying to ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-06-2003
Andy Fish
 
Posts: n/a
Default Persistent Cookies vs. session cookies

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




  #2 (permalink)  
Old 11-06-2003
Fredrik Lindner
 
Posts: n/a
Default Re: Persistent Cookies vs. session cookies

Read the cookie specification, and epecially the section about the cookie
expires field.
http://wp.netscape.com/newsref/std/cookie_spec.html

/Fredrik


  #3 (permalink)  
Old 11-06-2003
Andy Fish
 
Posts: n/a
Default Re: Persistent Cookies vs. session cookies

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" <fredrik.lindner@eponadata.se> wrote in message
news:bod7si$1b26q7$1@ID-115012.news.uni-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
>
>



  #4 (permalink)  
Old 11-06-2003
Fredrik Lindner
 
Posts: n/a
Default Re: Persistent Cookies vs. session cookies

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" <ajfish@blueyonder.co.uk> wrote in message
news:bypqb.1861$9P7.16216102@news-text.cableinet.net...
> 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" <fredrik.lindner@eponadata.se> wrote in message
> news:bod7si$1b26q7$1@ID-115012.news.uni-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
> >
> >

>
>



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0