Authentication and Cookies


Having Trouble Meeting Your Deadline?

Get your assignment on Authentication and Cookies  completed on time. avoid delay and – ORDER NOW

You need to implement a web application that is split into three parts, namely, Webpage, PHP, and MySQL. Each of them will be used concurrently to solve the problem described below. Remember to implement the logic in the most secure way to your knowledge.


  • Implement a PHP function that reads in input a string (user’s name, not username) from the user and stores it in a cookie.
  • The function should also be able to read another string (a comment) in input and store it in a database (only available if the user logged in).
  • The web application should be able to implement the logic to let log in and sign up the users.
    • Each user will have exclusive access to their uploaded comments.
    • When a user logs in, all their private content will be displayed on the web page.
      • If no user has logged in yet, no information from the database is printed on the webpage.


  • The page should hail the student with the message “Hello!”
  • If the user has visited the page already, the message should be “Hello ” plus the name of the user.
  • During sign-up, the user must be able to input a string (user’s name) using a text box, username, and password (no need to validate username and password).
  • Once logged in, the user must be able to input a string (a comment), using a text box.
  • The webpage allows users to input their credentials for both logging in and signing up (use a single page for both).
  • After a user logs in, the webpage prints their personal comments from the database.
    • If there are no comments yet, nothing is shown for that specific user.


  • You need to create a database that contains at least two tables. One to store the information in input to the webpage, the other to store the users’ credentials.
    • The “credentials table” should contain at least these fields: username and password.
    • The password should be stored in the most secure way to your knowledge.


  • You need to submit your web application in a .php file, no other format is allowed.
  • You will submit your ‘login.php’ file too.
  • No details about the database need to be submitted. The tables’ information can be inferred by the PHP code already.
  • Provide sufficient screenshots of how your application works (Ex: Before and after signing up, logging in, uploading comments, etc.).
Explanation & Answer

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Order Now and we will direct you to our Order Page at Litessays. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

Similar Posts