NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Koen Tjoa on December 08, 2011, 04:52:00 AM
-
In a NetWebBrowse I have a filter which reads a SessionVariable. Occasionally it can happen that either the SessionVariable is not set yet or equals to zero, which makes no sense then to load the browse. So I am trying to prevent the browse from being generated.
I considering a conditional filter which makes sure no record matches that filter. But there might be better solutions.
Cheers,
Koen
-
You can use the conditional filters for this.
-
Yep, that is what I did now. I tried to conditionally leave the CallBrowse routine making the GenerateBrowse routine isn't called, but that didn't work out. Once I have done that, the browse is never generated anymore although the next pass the CallBrowse routine isn't left and the GenerateBrowse routine is called.
Although a conditional filter works, I consider this solution it a bit as a workaround. But on the other hand, probably I want to have things too nice.
Cheers,
Koen