[Zope] Re: How to create an ansynchronous method
Tres Seaver
tseaver at palladion.com
Wed Sep 14 07:25:26 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Pratt wrote:
> Hi Ron. I found the following trying to follow up a bit on what you
> have suggested. I believe it is similar to what you are doing from your
> explanation. It may be out of date. I have not attempted to daemonize
> a process to date so it would be great if you could look at this and
> comment since I need something to work with.
>
> http://mail.python.org/pipermail/python-list/2001-February/030814.html
>
> As far as interacting with Zope, I have done something similar to build
> a site remotely from another server but setup https and sent credentials
> in the urls. I wonder if there is a way to inject them into Zope
> another way since the daemon is on the machine. I think the ClockServer
> injects requests into Zope. I believe it is something similar since
> credentials still need to be in url to execute something but requests
> are not exposed to the web doing this.
The CookieCrumbler is willing to accept credentials from a form, and
hence from the URL. See its '_setAuthHeader' and 'modifyRequest'
methods for how:
http://svn.zope.org/CMF/branches/1.5/CMFCore/CookieCrumbler.py?rev=37453&view=auto
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDKAim+gerLs4ltQ4RAvuFAKDR7FtOqJH3Co1Rr0Aq3ny7U/HzNgCcC8i+
ly5WHcv8rwArQHwXf8sJdZw=
=otbx
-----END PGP SIGNATURE-----
More information about the Zope
mailing list