mobilesfeatures / gwtupload

Automatically exported from code.google.com/p/gwtupload
Other
0 stars 0 forks source link

LAST_FILES Session Attribute Not Cleared After Upload #200

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Upload a file using gwtupload and check the session attributes before, during 
and after a file was uploaded.
You'll notice before the upload there is no gwtupload related session upload 
attribute.
During the upload you'll find the FILES and LAST_FILES attributes.
After the upload only the LAST_FILES attribute is left.

What is the expected output? What do you see instead?
I expect the LAST_FILES attribute to be cleared as well, but it is present, as 
during the upload.

What version of the product are you using? On what operating system?
gwtupload-1.0.0,jar, OS X 10.9 and Amazon linux

We have a cluster of application servers with replicated sessions. When one 
server goes down and the client is redirected to a new server, the new server 
will import a previously backed up session and try to deserialize the session. 
This will fail, as the LAST_FILES attribute contains a reference to a temporary 
file, which is not present on the new server and therefore logs out that user, 
that uploaded a file previously.

What is the LAST_FILES session attribute there for? Can't it be deleted 
together with the FILES session attribute?

Thanks!

Original issue reported on code.google.com by i...@thobach.de on 13 Jun 2014 at 12:03

GoogleCodeExporter commented 8 years ago
Fixed not released.
Use 1.0.2-SNAPSHOT in the meanwhile I release 1.0.2

Thanks for reporting

Original comment by manuel.carrasco.m on 7 Jan 2015 at 5:09