Post Reply 
Problem with $SET & $TST
Jan. 12, 2006, 12:42 AM
Post: #3
 
Hi JJoe

Sorry for the late reply, had to go out of town.

Here's what I get with the filters you posted.

Quote:Match Test 1
SET Test 2
Match Test 2

hmm...

I think it's a bit more than a timing issue.

I removed the $STOP() from "Match TEST 1" like so:

Quote:[Patterns]
Name = "Match TEST 1"
Active = TRUE
URL = "$TYPE(htm)$LOG(RMatch Test 1)$TST(bHTM=1)"
Bounds = "<*>"
Limit = 256
Match = "<*>$ALERT(Match 1)&(^?)"

I still don't get an alert from this filter.

This indicates to me that the URL match is only checked once. If the URL match fails, the filter is never checked again.

From the perspective of speeding up filtering, this makes sense as the URL for any given connection won't change.

So I guess the moral of this test is:

If you set a flag in a Match expression, it can only be reliably tested in another Match expression, not a URL expression.

Any thoughts?

Mike
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with $SET & $TST - z12 - Jan. 10, 2006, 11:31 AM
[] - JJoe - Jan. 10, 2006, 05:05 PM
[] - z12 - Jan. 12, 2006 12:42 AM
[] - sidki3003 - Jan. 12, 2006, 03:33 PM
[] - JJoe - Jan. 12, 2006, 05:44 PM
[] - z12 - Jan. 12, 2006, 06:55 PM

Forum Jump: