Forums
This topic is locked
Pure ASP Upload storing filename is Session
Posted 23 Oct 2002 15:39:46
1
has voted
23 Oct 2002 15:39:46 Robert Kruse posted:
I've tried the code as described to Set the filename of the uploaded file to a Session Variable... If (CStr(Request.QueryString("GP_upload"


Session("PDFFileName"


end if
I can't get this code to work. Where exactly after the upload code do you put it? I have an upload page that redirects to a details page which I want to display the name of the file just uploaded.
The file uploads successfully, but my Session Variable always comes up empty.
Any tips?
Thanks
Replies
Replied 23 Oct 2002 15:48:25
23 Oct 2002 15:48:25 Martha Graham replied:
Check this article:
www.udzone.com/showDetail.asp?TypeId=7&NewsId=848
Hope it is helpful.
Martha Graham
www.udzone.com/showDetail.asp?TypeId=7&NewsId=848
Hope it is helpful.
Martha Graham
Replied 28 Oct 2002 15:38:21
28 Oct 2002 15:38:21 Robert Kruse replied:
I read the article but unfortunatly, I'm not Inserting the the filename into the database on that page.
We're trying to get the file to upload, then send the filename to the next page where the user can preview the image, before inserting it into the database.
Thanks though
We're trying to get the file to upload, then send the filename to the next page where the user can preview the image, before inserting it into the database.
Thanks though
Replied 29 Oct 2002 09:15:44
29 Oct 2002 09:15:44 Martha Graham replied:
Check out this faq about making the uploaded file into a session variable.
www.udzone.com/go?1903
Martha Graham
www.udzone.com/go?1903
Martha Graham