r3494 Session write close. After granting a user to download a file, close session write to surf another page during the downloading.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13152 201d5d3c-b55e-5fd7-737f-ddc643e51545