Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
Managing PHP Persistent SessionsГод выпуска: 07/2015
Производитель: Lynda
Сайт производителя: lynda.com/PHP-tutorials/Managing-PHP-Persistent-Sessions/382572-2.html
Автор: David Powers
Продолжительность: 2:41
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: PHP persistent sessions allow for communication between the server and client. This allows web applications to remember the identities of visitors as well as any variables or other data. This practical and challenging project-based course will help developers take the data that PHP normally stores in plain text files and write them into a more secure database, where the records can be read and destroyed as needed. Author David Powers helps you set up a SQL database, define classes to open and close sessions, read and write variables, destroy sessions, and manage out-of-date records. The lessons culminate in a short project that uses tokens to recognize returning users in an auto-login scenario.
Создание веб-приложений на PHP.
[spoiler="Содержание"]
IntroductionWelcome
What you should know before watching this course
Using the exercise files
Sessions in Google Chrome
1.
Sessions and SecurityHow PHP sessions work
Configuring session
Changing session defaults
Inspecting how session data is stored
Implementing persistent sessions
2.
Preparing the DatabaseCreating a database and user account in MySQL
Defining tables to store session data
Connecting to the database
3.
Storing Session Data in MySQLImplementing the PHP SessionHandlerInterface
Opening a session and reading stored data
Writing session data
Closing the session and garbage collection
Destroying the session
Setting the session handler
4.
Creating an Autologin SystemHow the autologin system works
Using a trait to define common properties
Extending the MysqlSessionHandler class
Creating a persistent login
Checking a returning visitor's credentials
Logging out
5.
Testing the Autologin SystemGenerating a unique key when registering users
Using a PSR-4 class autoloader
Authenticating the user
Revalidating credentials for sensitive areas
Logging out selectively
ConclusionFinal thoughts
[/spoiler]
Файлы примеров: присутствуют
Формат видео: MP4
Видео: AVC, 1280x720, 16:9, 15fps, 180kbps
Аудио: AAC, 48kHz, 128kbps, stereo
[spoiler="Скриншоты"]

[/spoiler]