delete_sessions_table ()

Deletes the session storage table from DynamoDB.

Note: Table deletion may also be done via the AWS Console, which might make the most sense for this use case.

Access

public

Returns

Type

Description

boolean

Returns true on success.

Source

Method defined in extensions/dynamodbsessionhandler.class.php | Toggle source view (6 lines) | View on GitHub

public function delete_sessions_table()
{
    $response = $this->_dynamodb->delete_table(array('TableName' => $this->_table_name));

    return $response->isOK();
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback