in reply to Sessions and cookies

You can also look at Apache::Session. There are multiple options, including several filesystem options, Berkeley DB, memory cache, shared memory, and cross-platform memory cache daemon.