Purchase Solution

MySQL and PHP Sessions and Cookies

Not what you're looking for?

Ask Custom Question

What are the advantages and disadvantages of using cookies? What are the advantages and disadvantages of using sessions? Is one more secure than the other? Why?

Purchase this Solution

Solution Summary

This posting contains the answers to the posted questions.

Solution Preview

Hi,

A cookie is a small piece of information which is stored in the computer's hard drive when viewing web pages in the browser. When viewing the same website where the cookie was obtained, the information from the cookie is retrieved by the web browser.

An advantage of a cookie is that it saves information when the user jumps on other websites. For example, a user is filling up a survey and accidentally jumps to another web site, the information already filled up ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Basic Networking Questions

This quiz consists of some basic networking questions.