COP

profileMr-G-Stacka

 Discussion

 

Session management is used to track user activity, including the login and logout (or the beginning and end of a user session) of a Web application, otherwise known as "state." Because HTTP is a stateless technology, HTTP has no inherent method of tracking state or managing sessions. Therefore, session data is managed by the server (Sessions) or is read from the browser (Cookies). There are advantage and disadvantages to both methods.

 

Please respond to all of the following prompts:

 

  • Identify the pros and cons of using cookies.
  • Identify the pros and cons of using Sessions.
  • Explain the primary focus you should have in designing Web applications?

 

Assignment

 

This assignment will review Chapters 8 and 10 to reinforce the concepts we learned about manipulating data in records and with error-handling. Answer the following discussion questions in a Word file for submission:

 

 

 

  • What is used for accessing a resource that you can read from and write to?
  • What does the Input stream do?
  • What special type of variable is used by PHP to represent a resource such as a file?
  • What would happen if more than one program attempted to write data to a text file at the same time?
  • To iterate through the entries in a directory, you open a handle to the directory with what function?
  • When would you use the mysqli_select_db() function?
  • What is meant by "bullet-proofing?"
  • In PHP, the mysqli_query() function is used to send SQL statements to what?
  • What statements in the mysqli_query() function create a new database?
  • What is meant by a PROXY?
    • 7 years ago
    • 15
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      assignment_cop.rtf
    Bids(1)