Hi ,
Say if I upload a file on page 1 and submit the form
How can I make a session with the file which has been uploaded
for example
how would I get the session to store the file ?
Hi ,
Say if I upload a file on page 1 and submit the form
How can I make a session with the file which has been uploaded
for example
how would I get the session to store the file ?
You can store the file somewhere temporary and keep the path in the session. once the user completes whatever he/she supposed to complete then you store the file to a permanent location.
Your best bet is to store the location of the file in the session. better ideas?
A file cannot be stored in the session past the initial submit. On the file that the form calls you will need to take the temporary file and move it to a directory on your server.