Storing Session Data in MySQL

This script will store session data in a mysql database. Type values into one or both input fields. Click submit. Session data will be created and stored in the database. By clicking Destroy Session, the session data is deleted from the database and current session is destroyed. Click Refresh page to display this result.

Set session data in one or two fields.

Create Session Data


Session data does not exist. Please enter a value to be set in the current session.