NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: bwhisler on March 15, 2010, 02:52:29 AM

Title: Page variable with filename & slashes
Post by: bwhisler on March 15, 2010, 02:52:29 AM
Using NT 4.35 in Clarion 6.3, ABC templates.

On a NetWebForm, I am trying to set a value like "PageView?CurrentFolder=Folder1\Folder2" but when I retrieve the CurrentFolder variable, the back slash has been removed. I have tried using "p_web.Translate()" but that did not seem to help.

What I'm attempting to do is to pass to the page a current relative file folder but that may contain sub-folder references as shown above.

Any suggestions on how to accomplish this?
Title: Re: Page variable with filename & slashes
Post by: Bruce on March 15, 2010, 11:14:37 PM
you probably want to encode the variable.
ie something like;

p_web.escape(foldername)

Cheers
Bruce
Title: Re: Page variable with filename & slashes
Post by: bwhisler on March 17, 2010, 11:59:48 PM
Thanks, I will give that a try.