Php Login Tutorial-1 with Session/Cookies & Querystring in Hindi/English
Описание
Learn PHP in Hindi,English,Punjabi
Website: www.devexhub.in
State management is the process by which you maintain state and page information over multiple requests for the same or different pages.
1. Client Side Management
-- State Information will store/manage at client end(user's computer/Machine) .
a. Form(Such as Hidden Fields)
Hidden fields store information in HTML form without displaying it in the browser .
Scope : Single page .
b. HTTP Handlers (Such as cookies)
Cookies store data in the browser and they are kept of use tracking purpose. You can set cookies using the setcookie() or setrawcookie() function.
and access with $_COOKIE["your cookie name"].
Scope: throughout the application .
c. URL (Such as Query-Strings)
Querystring store information in the URL that are visible to the users .
Scope: Single page
2. Server side management
a. Sessions
Specific state that is stored on the server. It is available on a user basis who is visiting your site.
Default time: 24 Minutes .
Scope : throughout the application .
b. Database
Рекомендуемые видео



















