This is a hard one!

They have: 330 posts

Joined: Apr 2000

I have created a repository for training and reference files. The management would like to see reports regarding who is using what files. To do that I am sending the user to a page (OpenDocument.asp) with the URL in the querystring (?URL=blabla.asp). A database is then opened so the rep is logged and then they are redirected to the URL in the querystring.

The problem-
When the browser redirects through a querystring it substitutes / with %5C. Once that happens the relative links we have created for the images do not appear because they are looking for the last /.

Any suggestions?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

My book shows a Server.URLEncode() function, so I'm assuming there is a Server.URLDecode() function.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.