[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LANdb] login system



I believe I've gotten the login system fully working, except for
removing stale login cookies (haven't figured out how to do this yet),
and removing them manually on logout.  I still haven't written a "user
manager," but that's trivial.

MD5 (the Auth process in general) is causing some performance problems.
Any given function was taking at least a couple seconds to pop up.
I didn't time it of course, but it just _felt_ sluggish.  To speed
things up, I moved ::LANdbLogin into landb.cgi, so there's only one 'use
md5' in the system.  That about doubled the performance I was getting,
so I'm at least satisfied with things the way they are now.  I haven't
changed the table structure at all since my last post, so if you want to
play with this, you should have everything necessary to try it out.

Watch out, we've topped 5600 lines of code.  I think we're getting a bit
bloated. ;)

I'll make up a user manager tomorrow night.

John




--
# John Madden  weez@avenir.dhs.org ICQ: 2EB9EA
# Sys-Admin / Webmaster, Avenir Web: http://avenir.dhs.org
# LANdb: Network Admin Database --  COMP Mailing List: Linux & Windows
# The NAN Project: Neighborhood Networks -- Tech Support Database




-------------------------------------
LANdb - The Network Management Database
To unsubscribe, send email to landb-request@avenir.dhs.org
	and put 'unsubscribe' in the subject line
Administrative contact: weez@avenir.dhs.org
-------------------------------------