Ôóíêöèè HTTP/ñåàíñà
header() — âûâîäèò ñòðîêó çàãîëîâêà HTTP, òàêóþ, êàê ìåñòî ïåðåàäðåñàöèè.
setcookie("name", "value", "expire", "path", "domain", "secure") – ïîñûëàåò ïîëüçîâàòåëþ cookie.
session_start("name", "value", "expire", "path", "domain", "secure") – ïîñûëàåò ïîëüçîâàòåëþ cookie.
setcookie("name", "value", "expire", "path", "domain", "secure") – ïîñûëàåò ïîëüçîâàòåëþ cookie.
session_start() – èíèöèàëèçèðóåò äàííûå ñåàíñà. Ýòà ôóíêöèÿ âûçûâàåòñÿ ïåðåä ñîçäàíèåì íîâîé ïåðåìåííîé ñåàíñà ñ ïîìîùüþ $_SESSION.
session_destroy() – ðàçðóøàåò âñå äàííûå, çàðåãèñòðèðîâàííûå çà òåêóùèì ñåàíñîì ñöåíàðèÿ.