Cox, Charlie wrote: >I just answered this last week. Use a filter that checks the session and >leave your download files in a directory under webapps. Filters make this >simple. Don't do any more work than you need to :) > >Charlie > >>> >>I have found an article at www.javaworld.com about witing >>servlets for >>downloading non-html documents >>(http://www.javaworld.com/javatips/jw-javatip94_p.html). >> >>But I want to control the access to the file download component with >>session variables. The user is given the right session >>variables when he >>fills out the download form. >> >>Best regards, >> >>Lars Nielsen Lind >> >> >> >> >>-- >>To unsubscribe, e-mail: >><mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: >><mailto:[EMAIL PROTECTED]> >> > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > Do you have some examples of user-defined filters for handling session variable defined access to download file(s)?
Best regards, Lars Nielsen Lind -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>