Welcome to an infrequent episode of TechMan's "I Want to Know About Technology, But Not Too Much."
Today's topic is something you see constantly while surfing the Internet, but probably don't know a lot about.
If you type a Web site into the address bar of your browser, most browsers will automatically supply this: "http://" If it's not there, you may have trouble reaching the site.
So what's this meaningless string of letters and symbols?
First http stands for Hypertext Transfer Protocol. Hypertext indicates that the data requested may have links to other data. Transfer means that a request will be made from a browser to a server to send the information. And a protocol is a set of rules, in this case used to mediate the transfer.
So, when your browser begins a communication with a Web server, it says, "Hey I'm a Web browser, and I'm going to ask you to transfer resources that you have so that I can display them on the screen."
The server will then answer, "OK. I'm a Web server, I am operable and here is what you asked for."
If the server does not have the requested data, you will get a dreaded 404 error with the words "page not found."
But if the "handshake" is successfully completed, the next step is for the browser to use http commands to tell the server exactly what it wants to display.
Files that can be requested for display via http can be of many sorts, such as html (a Web page), a picture, audio file, video or a program.
If you wish only to transfer files between computers using download and upload, you use FTP or file transfer protocol.
The colon and double slashes are symbols (sometimes called delimiters) to tell the server that another part of the request is coming. Tim Berners-Lee, who came up with the World Wide Web, is said to lament the double slashes as an extra keystroke for no real reason
When your browser sends an http request to a server, you only have to worry about the http:// designation (which the browser provides) and the URL (Universal Resource Locator, the address of the Web page on the Internet, such as post-gazettte.com.)
But the browser sends additional http requests to tell the Web server exactly what it wants.
There is a "method" name (GET is the most common one, meaning "give me this resource") and then the exact location of the material the browser wants and the version of http being used. The response from the server will include the data requested and some information about what it is, such as txt/html or image/gif, or it will include an error code indicating why it could not return the data.
Which brings us to http cookies, usually referred to as just cookies.
A cookie is a piece of text sent by the Web server to the browser. The browser stores the cookie and then sends it back unchanged to identify itself the next time it accesses that particular server. It is how a Web site "remembers" things like your preferences or the contents of your shopping cart on succeeding visits to a site.
Since many computer security programs target cookies, they have gotten a bad name. But computer security programs often want to look like they are doing something so you'll feel they are worth the money. This may be behind their obsession with cookies.
Cookies are not programs that can run on your computer like viruses or worms. But they are not totally harmless. They can be used to gather information about your Web surfing-habits.
In Internet Explorer you can delete cookies under tools, internet options, general. In Firefox, the delete is under tools, options, privacy, show cookies.
In the Google Chrome and Apple Safari browsers the procedure is similar.
So if you don't mind Web sites "forgetting" your settings or your past purchases, by all means toss your cookies.



Comments
Welcome to Post-Gazette subscriber-only commenting community. Please review our community guidelines.