Learning Reflection Journal Post #13

By the 13th week, I was trying to understand many difficult topics at the same time. Some
Pagination and sorting on the Crud page. (week 10)
It’s easy to sort in one direction (ASC or DESC), but I couldn’t find the resource on doing (ASC and DESC) with one click on a single column. It’s a worthwhile subject.
-Uploading Files (Week 11)
It’s easy to add files via the website with Php, but it is confusing that there are many different sources of resources during the uploading phase to Sql.
-Sending email (Week 12)
It was easy to send emails and get user comments with Php codes on the website. The difficult thing is to send a confirmation email to the user who filled out the registration form.

-Cookies and Sessions

Cookies and Sessions are easy to use with PHP.

Cookies; store data in the user’s browser. Cookies are a way for a server to store information on the user’s machine.

Sessions; store data on the server itself. The premise of a session is that data is stored on the server, not in the browser, and a session identifier is used to locate a particular user’s record (i.e., the session data). They generally more secure than cookies and can store much more information.

Sessions have the following advantages over cookies:
-They are generally more secure (because the data is being retained on the server).
-They allow for more data to be stored.
-They can be used without cookies.
-Whereas cookies have the following advantages over sessions:
-They are easier to program.
-They require less of the server.
-They can be made to last far longer.

Leave a Reply

Your email address will not be published. Required fields are marked *