Re: ZPT and ZSqL question

Chris Withers <[email protected]> Wed, 12 Oct 2005 08:55:43 +0100
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
Tom Twyman wrote:
> Hello all!
> 
> I am trying to construct a login page.  

Look for SimpleUserFolder and CookieCrumbler ;-)

> I have users registering on the 
> site using ZPT, python script, and ZSQL methods, and their account 
> information is held in a table ("clients") in a psql database.  Now, I 
> want to be able to garner their clientid (primary key) during login, and 
> pass it as an argument to another page.

Use Zope's security model, it's one of it's key features and gets you a 
LOT for free...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk