G
Guest
Hello Everyone, I am using the WebClient.UploadFile process to enable the
ability for my users to upload files to helpdesk tickets. Each helpdesk
ticket has its own unique value in the database. I want to be able to pass
the unique helpdesk ticket value to the UploadFile process so that the
uploaded file can be queried by ticket number (the unique ticket value). I
have tried Session State and cookies to pass the unique ticket value to the
UploadFile code. I allways receive an exception that says I have to first
use the "new" keyword to instantiate the Session State or Cookie. I know the
cookie is there because I can access the value from other webpages. It
appears that the POST method used in the UploadFile process will not allow
the use of Session state or cookies. Please help me figure out a way to pass
the helpdesk ticket unique value to the Upload process.
ability for my users to upload files to helpdesk tickets. Each helpdesk
ticket has its own unique value in the database. I want to be able to pass
the unique helpdesk ticket value to the UploadFile process so that the
uploaded file can be queried by ticket number (the unique ticket value). I
have tried Session State and cookies to pass the unique ticket value to the
UploadFile code. I allways receive an exception that says I have to first
use the "new" keyword to instantiate the Session State or Cookie. I know the
cookie is there because I can access the value from other webpages. It
appears that the POST method used in the UploadFile process will not allow
the use of Session state or cookies. Please help me figure out a way to pass
the helpdesk ticket unique value to the Upload process.