These two commands used to be different. The current doc description indicates they are different. I hope that ns_register_adptag behavior is working somewhere in the code, as that was a very useful proc. I never used the other forms, but know they used to be different by using the wrong one once before.
--Tom Jackson Peter M. Jansson wrote:
ns_register_adptag and ns_adp_registeradp are different; the former causes an ADP string to be invoked upon encountering the tag, and the latter causes a Tcl proc to be invoked. My guess is that ns_adp_registertag is too confusing, because it's name is close to the former, but it's a synonym for the latter. I think this should probably be fixed in code someday, but for now the focus is on the docs, and I'm thinking that ns_adp_registertag should be deprecated in favor of ns_adp_registeradp, while continuing to endorse ns_register_adptag.
