Wednesday, March 02, 2011 at 12:00 AM.


on isSameMachine (client) {
		<<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 == "") {
		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.