PHP provides a cookie-based imJ}lementation for session management. The $ _Session array is used for storing session data. PHP automatically generates a session ID and sends a session cookie containing this session ID to the client machine. The PHP functions for session management are listed.

Name:  Cookie based on.jpg
Views: 25
Size:  38.7 KB

The basic login process begins with the display of two fields for the user name and-password. The following code shows the HTML file USed for the display of the login prompt