NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on March 31, 2010, 11:37:08 AM
-
Hi
It looks like session variables are addressed as reference variables in filters.
I need to filter on two conditons - service date and site ihid - both set as session variables.
I am having trouble with the syntax and keep getting compiler errors.
's:date =' &p_web.GSV('_sdate') 'and site:id = ' &p_web.GSV('_siteID')
this gives me compiler errors.
Q1) What is the correct syntax for this filter?
Q2) How do we use references to the session queue variables correctly in filters and expressions?
Thanks,
Ron Jolda
-
This may work a little better
's:date =' & p_web.GSV('_sdate') & ' and site:id = ' & p_web.GSV('_siteID')
I tend to embed my more complicated filters rather than use the templates. That way I can also add a debug point to see what my filter actually is if it is not working right.