Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: cookie handling by joist and noodle

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

Re: cookie handling by joist and noodle

Author dlr
Full name Daniel Rall
Date 2001-09-21 10:06:01 PDT
Message FWIW, this issue is completely unrelated to Joist.

"Andy Cooke" <andrewc at owl dot co dot uk> writes:

> Notice that when the MDAAuth cookie is set, the "expires=" field has been
> set. This is the only difference I can see between the three instances of
> Set-Cookie above.

The expires field is written by the servlet container's implementation
of the servlet API (see line 211 of JServUtils). The value of the
cookie expires header corresponds to the call to cookie.setMaxAge(int)
in MDACookie's write() method.

> I think in old netscape HTTP, it should be "Expires=", but why isn't the
> "Max-Age=" field used instead? And where is the "expires=" written in the
> first place? Is this by Apache?

I'm not sure that the cookie expires header has to follow quite the
same rules as the HTTP Expires header, since it is but a field of the
Set-Cookie header.


                             Daniel Rall

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@jois​t.tigris.org
For additional commands, e-mail: dev-help at joist dot tigris dot org

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

cookie handling by joist and noodle Andy Cooke <andrewc at owl dot co dot uk> Andy Cooke <andrewc at owl dot co dot uk> 2001-09-19 10:47:36 PDT
     Re: cookie handling by joist and noodle dlr Daniel Rall 2001-09-21 10:06:01 PDT
Messages per page: