Page 1 of 1

Need to Create Directory Before Upload

Posted: Fri Nov 05, 2010 2:20 am
by escottx
I have a custom login page. When user logs in, their creds are checked against a SQL db. If successful, their username is stored in a cookie. I use the cookie to create a directory for each user within the upload folder before the upload begins. Everything works as expected when I use the PROCESS.ASPX file. But when I use JFileUpload I get a 500 Internal Server error. What am I missing? Thanx!

Re: Need to Create Directory Before Upload

Posted: Sun Nov 07, 2010 11:08 am
by support
500 error comes from server. Just have a look to your server log/traces to understand what's wrong. Maybe you need to pass the cookie to applet so it can forward it in each upload request:
http://www.jfileupload.com/products/jfi ... ation.html