[Zope] Sessions and User Authentication

Gabriel Genellina gagenellina at softlab.com.ar
Wed Dec 24 12:17:46 EST 2003


At 23/12/2003 17:12, you wrote:

>1. I need to have the members login from the first page of the fan 
>club.  Since their user information is stored in the database and I do not 
>want to create a user account in zope for each user (there will be tons of 
>users) I need to have them authenticate to gain access only to that 
>specific members folder.  At no time should anyone be able to bookmark a 
>members only page and access it again without first authenticating. I also 
>need to make sure that after a specific amount of time of inactivity their 
>session expires.

Try exUserFolder.

>  2. I need to properly validate each and every form field in specific 
> ways (i.e. for the phone number there should be no letters entered and 
> only the correct amount of digits should be allowed).  There are a lot of 
> fields which all need specific validation rules.

Try Formulator, a very good product. But if your forms are already built 
it's difficult to change that.

>  3. I need to have sessions for the signup process so that the user can 
> go back and correct information if they need to do so prior to confirming 
> their submission and being sent the confirmation e-mail message.

See the Zope Book about sessions. Basically, you just store and retrieve 
things in REQUEST.SESSION


Gabriel Genellina
Softlab SRL




More information about the Zope mailing list