UnionOfRAD/lithium — pull request #225 by joebeeson (2011-12-29 20:56:05+00:00)
Title: PHP Session adapter modifications

This fixes issue #218 while maintaining current functionality and only modifying the `session.name` value when it is invalid (non alpha-numeric)

* Set a `session.name` value after the `LITHIUM_APP_PATH`
* `Inflector::slug` the value to remove any non-alphanumeric characters.
* Check `is_numeric`, and if so, add "lithium" to the beginning of the value.

The last step is the only one a bit iffy, I didn't know want to prepend the value with so I just defaulted to "lithium" -- if this should be something else, let me know.