Forum OpenACS Development: nssession

Collapse
Posted by Malte Sussdorff on
X-POST from AOLserver List, maybe useful for OACS ?

------------------------------

Date: Thu, 7 Jul 2005 19:54:59 +0100
From: Bas Scheffers (mailto:bas@SCHEFFERS.NET)
Subject: nssession module

Hi,

I created a session module for AOLserver. It's all in C, implemented simply by combining Ns_Sets and Ns_Cache. As bonus it gives you some (IMHO) nice cookie commands.

I gave it a good thrashing, creating 10.000 5K session and it performed beautifully; fast and on expiry seemed to clean up memory nicely.

If those interested could give a look over, I'd appreciate any comments, especialy on my newbie C code. :) (I realise now I should have used the TclObj versions, but I blame me not doing it on the module examples being out of date!)

Source can be had from: http://bas.scheffers.net/aolserver/
nssession-0.1.tgz

Cheers,
Bas.