Yes, there is no way to remove a filter other than by restarting the 
server.  The best you can do without restarting is to redefine the 
filter proc to be a no-op.

-J

Thorpe Mayes wrote:
> Hi,
>
> I have a simple (minded) question re ns_register_filter:
>
> How do I disable this?
>
> Remove the file and restart the server?
>
> Here is my code:
>
> proc active_user_filter {why} {
>      ...
>       return filter_ok
> }
>
> if {![info exists active_user_filter_p]} {
>      set x [ns_register_filter trace GET * active_user_filter]
>      nsv_set . active_user_filter_p 1
> }


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to