2amigos / yiiaws

Amazon Web Services SDK PHP 2 Wrapper
21 stars 15 forks source link

DynamoDB registerSessionHandler Problem #16

Closed tonyguillen closed 11 years ago

tonydspaniard commented 11 years ago

Can you provide more details please?

farmani commented 11 years ago
$dynamoDb = new A2DynamoDb();
        $dynamoDb->registerSessionHandler(array(
            'table_name'               => $this->tableName,
            'hash_key'                 => $this->hashKey,
            'session_lifetime'         => $this->sessionLifetime,
            'consistent_read'          => $this->consistentRead,
            'locking_strategy'         => $this->lockingStrategy,
            'automatic_gc'             => $this->automaticGc,
            'gc_batch_size'            => $this->gcBatchSize,
            'max_lock_wait_time'       => $this->maxLockWaitTime,
            'min_lock_retry_microtime' => $this->minLockRetryMicrotime,
            'max_lock_retry_microtime' => $this->maxLockRetryMicrotime,
        ));

return: Command was not found matching RegisterSessionHandler @tonydspaniard

tonydspaniard commented 11 years ago

@farmani

Can you try using the getClient() method instead?