Pure ASP Upload 3 Support Product Page
how to assign an ASP session variable to file name
Asked 13 years ago
2
have this question
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:
Set this code right after the PAU code.
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.
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?