Response created via URL is not a response

I have code which sends an email that includes a copy of a message and provides a URL to create a response. I include the OpenFrameSet info in the URL so the response opens in the web site’s frameset rather than in a page by itself. This works except that the Response does not include the parent subject and when saved, does not have $REF. If I remove the frame portions of the URL it works fine but opens in it’s own page. Here are examples of the URLS. Any ideas? Thanks in advance.

Works but does not act like a response type doc:

http://myserver.com/folder/mydb.NSF/Home%20Frame?OpenFrameSet&Frame=Right%20Frame&Src=/folder/mydb.NSF/Response?OpenForm&ParentUNID=parentdocunid?AutoFramed

Works but does not use the web site frame:

http://myserver.com/folder/mydb.NSF/Response?OpenForm&ParentUNID=parentdocunid

Subject: Response created via URL is not a response

Your first URL is something like …?OpenFrameSet&Frame=xxx&Src=yyy&ParentUNID=zzz.You ParentUNID key/value pair is seen as an option for the ?OpenFrameset, not for ?OpenForm.

You should escape the last “&” in your first URL. Use the equivalent “%xx” code instead (sorry, don’t have the number right now) and maybe the last two “?” should be escaped, too.