If you look at the sourcecode, you'll see that there are already
functions in place for the serialization stuff.
But weird enough it didn't improve on performance, and I got some issues
(I don't remember exactly which issues anymore since it's almost 2years
ago now ;) ) but I do remember users not being able to authenticate anymore.
If you want you can change the source code to use the newer
serialization code and test it out. Maybe I've overlooked something ;)
I had a look at BDB before to further improve CP performance but that
didn't really worked out because of diskspace and library.
Kind Regards,
Jonathan
Manuel Kasper wrote:
> On 03.05.2008, at 20:56, Peter Allgeyer wrote:
>
>> That would mean that we need the sqlite or bdb libraries. No problem, if
>> size doesn't matter ;-)
>
> Right. :) IIRC SQLite in PHP 4 adds around 200 KB, which could
> probably be justified. Or maybe simply storing everything as arrays
> and using PHP's serialization feature would also be adequate. Anyway,
> it was just an idea in case someone is looking for something to do on
> the captive portal. ;)
>
> - Manuel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash dev dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash dev dash help at lists dot m0n0 dot ch
>
|