How could I automatically/programmatically log in an existing user when anyone visits a zope site? I am doing this because I want to demo an application on the web without needing a login. I am using an authenticated user in the application to retrieve data from a database that is specific to that user. Regards Garry
use proxy role ----- Original Message ----- From: <garry@schoolteachers.co.uk>
How could I automatically/programmatically log in an existing user when anyone visits a zope site? I am doing this because I want to demo an application on the web without needing a login. I am using an authenticated user in the application to retrieve data from a database that is specific to that user.
If you are using a form-processor routine (ie. some routine which examines login id/pwd entered by user on a form), then you could send the "demo-ee" a link, which contains the id/pwd as url parameters, and directly calls the form processor routine. ----- Original Message ----- From: <garry@schoolteachers.co.uk> To: <zope@zope.org> Sent: Thursday, April 30, 2009 7:14 AM Subject: [Zope] auto login user
How could I automatically/programmatically log in an existing user when anyone visits a zope site? I am doing this because I want to demo an application on the web without needing a login. I am using an authenticated user in the application to retrieve data from a database that is specific to that user. Regards Garry _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.12.8/2086 - Release Date: 04/29/09 06:37:00
participants (3)
-
garry@schoolteachers.co.uk -
Jaroslav Lukesh -
Jonathan (dev101)