paperclips-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paperclips-discuss] Session management changes


From: Nic Ferrier
Subject: [Paperclips-discuss] Session management changes
Date: Wed, 27 Jun 2001 03:39:46 +0100

Inspired by Chris I've been doing my own bug hunting.

It seems that sessions were not being handled properly. The solution
was to do something I've been meaning to do for a while: apply an
adapted ServletResponse inside the dispatcher.

We already apply an adapted ServletRequest for dealing with path
handling in the most efficient way.

Doing this means that it's not possible to store references of a
request or a response inside a servlet and then come back to them
later. That protects the "native" request and response from nasty
tampering.

There are quite a few changes, though nothing particularly
structural.


At the same time as doing this I added the socket timeout stuff to
PaperclipsRequest. It seemed to be a good compromise and one that
doesn't require that SocketServer be altered.

BTW: no GNU java lib implementation handles socket timeouts properly.
GCC comes closest.


Nic



reply via email to

[Prev in Thread] Current Thread [Next in Thread]