Pure ASP Upload 3 Support Product Page

how to assign an ASP session variable to file name

Asked 11 Nov 2011 20:59:23
2
have this question
11 Nov 2011 20:59:23 adrian Leontovich posted:
Can you give me the code I'd need to use on the upload.asp page that would assign the selected filename (to be uploaded) to a session variable so I can use it on the confirmation page?

Replies

Replied 05 Dec 2011 10:32:00
05 Dec 2011 10:32:00 Miroslav Zografski replied:
Hello Adrian,

here is a sample code for setting a session variable with the file name:

<
%Session("fileFieldId") = UploadFormRequest("fileFieldId") 
%>


Set this code right after the PAU code.
This reply was removed on 5/17/2012 9:56:13 PM.
See the changelog
Replied 17 May 2012 22:05:52
17 May 2012 22:05:52 Adrian Leontovich replied:
I've placed this after the PAU form on the page, but the variable isn't being saved. Thoughts?

Reply to this topic