NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on August 12, 2009, 11:52:39 PM

Title: Dynamic file path
Post by: Rene Simons on August 12, 2009, 11:52:39 PM
Hi,
As described earlier in this forum, changing the filepath must be done in the webHandler | Processed link | before parent embed.
When I compile and run, an error appears telling me that the gsv method, which I use to retrieve certain data from the session, is not valid.
My question is: Can I use p_web methods at all in the webHandler?

Thank you,
Rene
Title: Re: Dynamic file path
Post by: Bruce on August 13, 2009, 10:16:28 PM
yes, you can use all the "p_web" methods there.
But bear in mind that "p_web" is really just a parameter being passed around. You'll notice it's passed to the browses, forms and so on.

p_Web _is_ the WebHandler object.

So usually in the WebHandler procedure you should use "self" instead of p_web.

Cheers
Bruce
Title: Re: Dynamic file path
Post by: Rene Simons on August 13, 2009, 11:11:26 PM
Thank you.