| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | Edward L. Blake <[email protected]> |
| Safe Haskell | Safe-Inferred |
Data.PHPSession.Types
Contents
Description
Encodes and decodes serialized PHP sessions in the format used by the "php" setting for serialize_handler.
- type PHPSessionVariableList = [(ByteString, PHPSessionValue)]
- data PHPSessionClassName = PHPSessionClassName ByteString
- data PHPSessionValue
- = PHPSessionValueArray [(PHPSessionValue, PHPSessionValue)]
- | PHPSessionValueBool Bool
- | PHPSessionValueFloat (Either Int Double)
- | PHPSessionValueInt Int
- | PHPSessionValueNull
- | PHPSessionValueObject PHPSessionClassName [(PHPSessionValue, PHPSessionValue)]
- | PHPSessionValueObjectSerializeable PHPSessionClassName ByteString
- | PHPSessionValueString ByteString
- | PHPSessionValueMisc ByteString [PHPSessionAttr]
- data PHPSessionAttr
PHP session types
type PHPSessionVariableList = [(ByteString, PHPSessionValue)]Source
Holds the top-level session variables and their value contents.
data PHPSessionValue Source
Constructors
Instances
data PHPSessionAttr Source
Instances