Click to See Complete Forum and Search --> : IE only: filename(path) is not preserved


jamsheed
08-08-2004, 07:42 PM
Hi,

Please help.

In IE when i upload a file and hit the back button the file path is not preserved in the input box (<input type=file>) , but in Netscape its preserved.

Do i need to do something in here so that it will be opreserved in IE also. Or it is a browser property of IE.

Please help.
Thanks in advance.

AdamGundry
08-09-2004, 03:13 AM
If that is IE's behaviour you probably can't change it. Scripts are not allowed to change the value of file select components for security reasons - if they could, a malicious website could copy any file from your computer when you visited it.

Adam

jamsheed
08-09-2004, 12:42 PM
Adam,

Thanks for your help. Let me calrify this . I want to make sure is this IE behavior. because in netscape i put in a file path and post the form and go back using the back button, its preserved there. But in IE its seen blank when i go back.


Any ideas? Helppppp!!!!!!!

AdamGundry
08-11-2004, 02:41 AM
A quick test indicates this is the case in IE and Mozilla Firefox 0.9, so this appears to be normal behaviour. There is not much you can do about it.

Adam