NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on July 15, 2013, 01:47:19 AM

Title: Pass parameter from menun to browse
Post by: Poul Jensen on July 15, 2013, 01:47:19 AM
Hi,

There is a parameter field on the NT menu extension but how do I handle that on the called browse ?

Cheers,
/Poul
Title: Re: Pass parameter from menun to browse
Post by: Bruce on July 15, 2013, 02:03:12 AM
The parameter list is of the form
name=value&name=value
and so on.
ie, a & separated list of variable name, and value.

In the destination procedure, procedure setup embed, put

p_web.StoreValue('name')
where name is the parameter you are expecting.

then in your filter, and elsewhere in the code where you want it use
p_Web.GetSessionValue('name')

cheers
Bruce
Title: Re: Pass parameter from menun to browse
Post by: Poul Jensen on July 15, 2013, 05:55:17 AM
Thanks Bruce.

/Poul