OOPS: Object Oriented Php Sessions
Documentation
Constructor
Session Control
Calling the start method of an Oops instance is the OOPS equivilent of the
built-in session_start() function. If a session already exists,
it is reused, otherwise, a new session is created. This must be called before
any other session control methods can be used.
This method regenerates the session ID of the currently open session. This
is done for extra security. By default, this method is called automatically
everytime the session is started. To disable this functionality, change the
"session_regeneration" value in the
config file to false.
Destroys the session and all data related to it.
Data Storage
Stores $value under the name $name in the session
for later use.
Retrieves the value associated with $name.
Removes the value associated with $name.
Read-only Properties
The current session ID.