Posted on 2006-05-13
I am using the following line on my page:
myurl is a script variable that contains the name of a ASP page and the beginning of a querystring.
I want to add something to the back of the querystring (in this case '..\Source Files\Analyst.mht')
I have experimented with this before, and it has always worked until now. The problem I am seeing is that by the time the querystring reaches my ASP, the last part of the query string has been converted to '..Source FilesAnalyst.mht'
(Notice that both the slashes have been removed).
I am trying to pass the name of the selected file to the ASP for logging, where a redirect will then open the page the user has requested. If I can't find a way to pass the slashes, this won't work.
As an experiment, I tried doubling the slashes (similiar to how you often need to deal with quotes), but that didn't help.
Can anyone explain what is happening, and give me an example of the syntax that will fix this?
In case it is relevant, the above line is from the client side HTML page, and I am using Internet Explorer. (This is for a corporate interal web where only IE is supported)
thanks very much,