URL and COOKIES
Uniform Resource Locator (URL):
URL is an acronym for Uniform Resource Locator and is a reference (an address) to a resource on the Internet. URLs occur most commonly to reference web pages (Http) but are also used for file transfer (FTP), email (mailto), database access (JDBC), and many other applications.
A URL has two main components:
Protocol identifier: For the URL http://example.com, the protocol identifier is Http.
Resource name: For the URL http://example.com, the resource name is example.com.
The resource name is the complete address to the resource. The format of the resource name depends entirely on the protocol used, but for many protocols, including HTTP, the resource name contains one or more of the following Components:
Host Name: The name of the machine on which the resource lives.
Filename: The pathname to the file on the machine.
Port Number: The port number to which to connect (typically optional).
Reference: A reference to a named anchor within a resource that usually.
Explains Cookie:
A cookie contains specific information that is encrypted for security purposes. Normally, a cookie is attached with an HTTP header from the HTTP server to a Web browser in response to a user request. This stored cookie is sent to the HTTP server whenever access to a specific website is required. Cookies are managed in two patterns: with expiry date and without an expiry date. Cookies without expiry dates are automatically stored on users’ machines and remain inside the system’s memory until the user’s browsing terminates. Cookies with an expiry date expire when that date is surpassed. Unfortunately, because of a lack of knowledge, most people do not understand what a cookie is, and many believe that cookies are tiny files containing viruses, malware or spyware. These are all are misconceptions. In 1994, Lou Montulli, a founding engineer at Netscape, became the first person to apply the concept of magic cookies. These were just simple text files stored on a user’s computer. A Web server would allow the browser to save this text file and resend the file with each request from the user. This file helped the server identify each user. The following are the types/variations of cookies: Session Cookies: Created for a specific session, these expire upon the termination of the user’s browser session. Persistent Cookies: Normally known as tracking cookies, these cookies have a specific time period before they expire. Secure Cookies: When a user is accessing the server through HTTPS, secure cookies are used to provide maximum security to user data through encryption.
Zombie Cookies:
These cookies are automatically recreated after a user has deleted them.
URL is an acronym for Uniform Resource Locator and is a reference (an address) to a resource on the Internet. URLs occur most commonly to reference web pages (Http) but are also used for file transfer (FTP), email (mailto), database access (JDBC), and many other applications.
A URL has two main components:
Protocol identifier: For the URL http://example.com, the protocol identifier is Http.
Resource name: For the URL http://example.com, the resource name is example.com.
The resource name is the complete address to the resource. The format of the resource name depends entirely on the protocol used, but for many protocols, including HTTP, the resource name contains one or more of the following Components:
Host Name: The name of the machine on which the resource lives.
Filename: The pathname to the file on the machine.
Port Number: The port number to which to connect (typically optional).
Reference: A reference to a named anchor within a resource that usually.
Cookies
A cookie is a text file that a Web browser stores on a user’s machine. Cookies are a way for Web applications to maintain application state. They are used by websites for authentication, storing website information/preferences, other browsing information and anything else that can help the Web browser while accessing Web servers. HTTP cookies are known by many different names, including browser cookies, Web cookies or HTTP cookies.Explains Cookie:
A cookie contains specific information that is encrypted for security purposes. Normally, a cookie is attached with an HTTP header from the HTTP server to a Web browser in response to a user request. This stored cookie is sent to the HTTP server whenever access to a specific website is required. Cookies are managed in two patterns: with expiry date and without an expiry date. Cookies without expiry dates are automatically stored on users’ machines and remain inside the system’s memory until the user’s browsing terminates. Cookies with an expiry date expire when that date is surpassed. Unfortunately, because of a lack of knowledge, most people do not understand what a cookie is, and many believe that cookies are tiny files containing viruses, malware or spyware. These are all are misconceptions. In 1994, Lou Montulli, a founding engineer at Netscape, became the first person to apply the concept of magic cookies. These were just simple text files stored on a user’s computer. A Web server would allow the browser to save this text file and resend the file with each request from the user. This file helped the server identify each user. The following are the types/variations of cookies: Session Cookies: Created for a specific session, these expire upon the termination of the user’s browser session. Persistent Cookies: Normally known as tracking cookies, these cookies have a specific time period before they expire. Secure Cookies: When a user is accessing the server through HTTPS, secure cookies are used to provide maximum security to user data through encryption.
Zombie Cookies:
These cookies are automatically recreated after a user has deleted them.
Comments
Post a Comment