Tuesday, March 01, 2011 at 11:24 AM.

system.verbs.builtins.opmlEditor.isSameMachine

on isSameMachine (client) {
	<<Changes
		<<3/1/11; 10:20:58 AM by DW
			<<Is the request coming from a user on the same machine. Different security applies if so.
	if (string.lower (client) == "localhost") or (client == "127.0.0.1") {
		return (true)};
	try {
		return (tcp.equalnames (client, tcp.myDottedID ()))}
	else {
		return (false)}}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.