I am using this product on a Intranet and i want the users to be able to select a location to browse/manage useing a form, and a drop down list of folders.
The code im working with is something like this:
Dim WexRoot
WexRoot = "/../" & Request.Form("folderdest")
EG: /../Folder1
Initially this works fine. I am able to select a folder from a drop down list, submit the form and up comes WebExplorer with the files and folders of the selected folder...
The problem comes when you select a subfolder, it comes back saying 'Cannot open.......'.
And what is happening, it is trying to open /../subfolder1 instead of /../folder1/subfolder1
Thus my understanding, it is losing Request.Form("folderdest") information.
Is there a way to store in memory(Dim, Declare, Set, Const etc) the value of Request.Form("folderdest")???
Your help is greatly appreciated...
Amos
9/17/2002 10:00 PM
Would this line of coding be a solution, and how would I implement it?
document.forms.formBuffer.folderdest.value
Amos
9/17/2002 11:53 PM
Hi,
You can do it by just inserting this simple line of code inside the form (formBuffer) at the bottom of the script code:
<input type=hidden name=folderdest value="<%=Request.Form("folderdest")%>">
Cem Alacayir
9/18/2002 5:32 PM