Forums

This topic is locked

ASP UPLOAD - making upload file optional

Posted 07 Dec 2002 02:41:36
1
has voted
07 Dec 2002 02:41:36 bradley hebdon posted:
Since I cannot use the POST Action to point to a redirect page, I have to use a custom session variable code, (which I obtained from this site, and it works) - to send form fields over to a re-direct page. If I use the re-direct page option in the dialogue box, it won't send over the form fields. OK, this all works - with REQUIRED UPLOAD.

HOWEVER, once I want to make the upload file, OPTIONAL, it doesn't. I'm assuming it's because i'm using the custom session variable code that doesn't like to co-exist with the new optional upload.

Any ideas of how I can adjust the code to allow me to have an optional upload field, while still passing the session variables to the re-direct page.

I think it would be easier to customize the ASP UPLOAD extension if you could simply re-direct the results using POST ACTION in the form. Anyway, me 2 cents worth.

If anybody could assist me in this matter, it is rather urgent.

Thanks in advance

Reply to this topic