Pure ASP Upload 3 Support Product Page

how to assign an ASP session variable to file name

13 years ago 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 13 years ago
13 years ago 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 13 years ago
13 years ago 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