Where does the word (magic) cookie come from? [closed]

Solution 1:

The problem with answering this type of question is that there are at least a dozen different answers depending on the story you believe. Before cookies were given their official name, they were in use at hundreds of companies, each of which had their own name for the text files. Developers for UNIX, Sun, and Xerox all have a story regarding the origin, the most common of which you can find here.

I messaged a friend who was a lead developer at Netscape, and he offered the common Hansel and Gretel theory. To the extent you are looking for the connection to food, the answer is in the crumbs.