Is it possible to do a preupload validation that requires server-side code?
For example, I want to make sure that a variable is in session before the upload continues. We have users that go thru our upload process, get to the end (which removes all session variables), then they click Back on their browser and try to do another upload. Doing so causes a NullReferenceException.
I'd like to check to see if the session variable exists. If it does, allow the upload to continue. If not, forward them to a new page telling them their session has expired.
Any ideas would be greatly appreciated.
Thanks,
Kyle
For example, I want to make sure that a variable is in session before the upload continues. We have users that go thru our upload process, get to the end (which removes all session variables), then they click Back on their browser and try to do another upload. Doing so causes a NullReferenceException.
I'd like to check to see if the session variable exists. If it does, allow the upload to continue. If not, forward them to a new page telling them their session has expired.
Any ideas would be greatly appreciated.
Thanks,
Kyle