Hi,

Can anyone direct me to some good source code example, on how to password
protect some CGI scripts.
As I want the solution to be portable, I do not want to use .htaccess.
I would prefer som code to make a login page and verify the username and
password against a SQL database, then set a cookie with an ID of the logged
in user. And on all protected scripts simply call a check function that
lookup the ID in the SQL database to see if it is legal and if not redirects
to the login page.
Any other sugestions are welcome

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to