Session Variable in PHP - How To Use It - An introductory tutorial

preview_player
Показать описание
The session variable is inbuilt to php and allows programmers to access it from any page at any time. The session persists for the duration of the user's visit.

Rather than use the post array or get array that only passes information from one page to another, the session array allows users to carry variables of any datatype across the entire session without the need to keep passing items over and over again.
Рекомендации по теме
Комментарии
Автор

I am new PHP coding and i was trying to pass php variable to another file. Your input helped me a lot. You have opened my eyes, i was able to solve that problem with ease. Thank you.

green_universe
Автор

I was struggling to find how to do this. THANK YOU!!!

AJJmusician
Автор

Thanks for the help just showing the simple function helped a lot.

Cybrid
Автор

alguma indicação de programa de criar sessões (session) para telegram

paulosantos
Автор

Takes an Irishman to make sense of things!

huntley