[Mailman-Developers] Cookie stuff done

Dan Mick Dan.Mick@west.sun.com
Fri, 21 Jul 2000 12:34:07 -0700


Thomas Wouters wrote:
> 
> On Fri, Jul 21, 2000 at 03:19:07AM -0700, Dan Mick wrote:
> > "Barry A. Warsaw" wrote:
> 
> > > Okay, I've gone ahead and checked in all the cookie changes.  Please
> > > check out the current CVS tree and let me know how it goes.  If I
> > > don't hear any major negatives I'll spin beta5 tomorrow.
> 
> > When I log in, if I first go to the "pending requests" page, as is my
> > habit, and there's nothing there, I hit the back button...but now I get the
> > dreaded "Data Missing
> 
> > This document resulted from a POST operation and has expired from the cache. If you wish you can
> > repost the form data to recreate the document by pressing the reload button. "
> 
> > I realize this is because of the no-cache stuff, but it seems wrong.  Perhaps
> > a very-short cache lifetime would be best?...
> 
> Or perhaps a 'back' button on the page, instead. 

Argh, no, definitely not.  "duplication of function with custom code" is just wrong.
I know where my Back function lives.

> Or make the
> cookie/login-page not display the wanted page itself, but redirect, so that
> you can use 'back' without problems. (The page will then not have resulted
> from a POST request, after all.)

Hmm.  I guess that has possibilities, if the redirect will 'save' the 
authentication info (which I suppose it should, since it's a session
cookie).