Тёмный

PHP Session variable creating checking and destroying using session_start() using userid and name 

plus2net
Подписаться 5 тыс.
Просмотров 5 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@kondosca_
@kondosca_ Год назад
the session is being destroyed when I go to to another page
@plus2net1
@plus2net1 Год назад
You must start the session at the top of the page ( first line ) session_start();
@Thaomocvinahealth
@Thaomocvinahealth Год назад
Undefined index: username in file logout.php how to fix this
@plus2net1
@plus2net1 Год назад
Username is not created ( available in this page ) so this message is coming. As this is a logout page so better to supress this message locally and destroy the sessions. Otherwise isset() can be used to check the status and then code accordingly.
Далее
новое испытание
00:40
Просмотров 351 тыс.
Think Fast, Talk Smart: Communication Techniques
58:20
OOP PHP | Static Methods and Properties #12
7:34
Просмотров 12 тыс.
PHP Foreach Loop Tutorial
6:16
Просмотров 104 тыс.
How To Control User Access in a PHP Application
8:21