Category Archives: PHP

Working with OAI

We’ve been helping with the development of the PRISMS resource review utility and public interface.

Our most recent task was to find a way to provide access to the data in an exchange format compatible with the NSDL. To do this we were looking for a PHP-based OAI provider that could interface with our MySQL database. We found a capable application in the work of Heinrich Stamerjohanns. He has put together a set of PHP scripts which provides exactly the kind of functionality we needed.

Continue reading Working with OAI

PHP Session Timeout

The items utility has had a nasty habit of timing out users after a relatively short amount of time. In the past I tried extending the cookie timeout, but that didn’t really seem to help. The problem has been troublesome because it seems to happen almost randomly.

A little web research has led me to another conclusion as to the source of the problem: session data garbage collection.

Continue reading PHP Session Timeout