don't know what is wrong... but after you make the string....

do response.write(path) instead of redirect.. that way you will see the whole string with the variable values inserted and you can debug the problem...