Forums
This topic is locked
aspupload and sessions
Posted 07 Oct 2006 19:56:40
1
has voted
07 Oct 2006 19:56:40 Jim Deitzel posted:
I can't figure out how to create a session called photo from a form with a field called photo using aspupload. Below is my upload code.<%
'*** Pure ASP File Upload 2.2.0
Dim GP_uploadAction,UploadQueryString
PureUploadSetup
If (CStr(Request.QueryString("GP_upload") <> "" Then
Dim pau_thePath,pau_Extensions,pau_Form,pau_Redirect,pau_storeType,pau_sizeLimit,pau_nameConflict,pau_requireUpload,pau_minWidth,pau_minHeight,pau_maxWidth,pau_maxHeight,pau_saveWidth,pau_saveHeight,pau_timeout,pau_progressBar,pau_progressWidth,pau_progressHeight
pau_thePath = """imageuploads"""
pau_Extensions = "GIF,JPG,JPEG,BMP,PNG"
pau_Form = "photosubmit"
pau_Redirect = "photo_contact.asp"
pau_storeType = "file"
pau_sizeLimit = "2,000,000"
pau_nameConflict = "uniq"
pau_requireUpload = "true"
pau_minWidth = ""
pau_minHeight = ""
pau_maxWidth = ""
pau_maxHeight = ""
pau_saveWidth = ""
pau_saveHeight = ""
pau_timeout = "600"
pau_progressBar = "fileCopyProgress.htm"
pau_progressWidth = "300"
pau_progressHeight = "100"
Dim RequestBin, UploadRequest
CheckPureUploadVersion 2.20
ProcessUpload pau_thePath,pau_Extensions,pau_Redirect,pau_storeType,pau_sizeLimit,pau_nameConflict,pau_requireUpload,pau_minWidth,pau_minHeight,pau_maxWidth,pau_maxHeight,pau_saveWidth,pau_saveHeight,pau_timeout
end if
%>
Replies
Replied 13 Oct 2006 00:03:04
13 Oct 2006 00:03:04 Jim Deitzel replied:
To all reading. I still need help with this. I've read the posts about this, but can't seem to get anything to work. Any help is appreciated. Thank you very much