₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,345,152 members, 8,515,778 topics. Date: Monday, 09 November 2026 at 02:04 PM

Toggle theme

PHP Session For State Management - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › PHP Session For State Management (885 Views)

1 Reply

PHP Session For State Management by skptricks(op): 3:38am On Oct 18, 2017
What is a session in PHP?

PHP session is used to store and pass information across multiple page.
PHP session technique is widely used in shopping websites and other secure pages where we need to store and pass important information e.g. username, secure token ,product code, product name, product price etc from one page to another.
PHP session creates unique ID for each browser session to recognize the user and avoid conflict between multiple browsers.
Mostly PHP Session is used in User Login Page.

Where the session is stored in PHP?

A session variable's content is stored on the server, however the session is identified by a session ID which is stored at the client and sent with each request.

For more details :
https:///q3FZ7F
1 Reply

Sessions In Php Tutorial, Unable To Establish/start Php Session • PHP Session Management With Some Tips • PHP Cookies For State Management • 2 • 3 • 4

Creating Your Own Educational Crypto Currency With Javascript • Referral System Code • In Need Of A .NET Programmer