» Articles for 20.12.2014

 
Sort articles by: Date | Most Rates | Most Views | Comments | Alphabet

PHP Session and Cookie operation

Author: bamboo06 on 20-12-2014, 02:58, views: 3045

8 We need to use to track user information Session and Cookie, such as user login authentication, user browsing history record store shopping cart data, user session valid time limit. Today we come to understand how to operate under PHP is the Session and Cookie.
PHP Session and Cookie operation

PHP's $ _SESSION current user data can be stored, when the user visits WEB site, PHP will give users access to each create a session ID, the ID is a unique ID, saved on the client, and the user's session data is saved to the the service side, PHP can be stored for each different user information when the session expires, the user session information will be invalidated.

Category: PHP Scripts