Monday, November 08, 2010 at 12:04 AM.

system.verbs.builtins.mainResponder.members.isHashedCookieFormat

on isHashedCookieFormat (cookieString) {
	<<Return true if the cookie string is in the new format, false if it's the original format. cookieString is an undecoded cookieString.
		<<04/10/00; 12:00:59 PM by PBS
	
	if not (cookieString contains "&") {
		return (false)};
	
	if cookieString contains "%09" {
		cookieString = string.urlDecode (cookieString);
		if string.countFields (cookieString, '\t') == 2 {
			return (false)}};
	
	return (true)} //it's in the new format



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.