at15 / bform

Paper and data management web application for plastic forming
Apache License 2.0
0 stars 0 forks source link

Auth Server #15

Open at15 opened 8 years ago

at15 commented 8 years ago

We need a session library that

when this project completes, this package will be split out and published using composer.

Ref

at15 commented 8 years ago

can't use predis scan like redis-cache

$pattern = $prefix . '*';
        $cursor = 0;
        $counter = 0;
        do {
            $result = $this->client->scan($cursor, $pattern);
            $cursor = $result[0];
            if (!empty($result[1])) {
                $this->client->del($result[1]);
            }
            $counter++;
        } while ($cursor != 0);
        return $counter;

the second argument need to be an array .... btw: really lack of documentation ...

at15 commented 8 years ago

should use array('MATCH' => 'foo*')

at15 commented 8 years ago

the cache library is finished in 3de15073e9ff404e00ef43defe85384ded37d804, with some modification it would be a session library .... en.