[Zope] zeo client tracking

Andrew Milton akm at theinternet.com.au
Wed Jun 17 11:05:25 EDT 2009


+-------[ Mikael Kermorgant ]----------------------
| Hello,
| 
| We're using a zope 2.10 setup with a zeo server and several zeo clients behind
| lvs.
| 
| Sometimes, we'd like to track which zeo client handled teh request, and we're
| going to need it as we'd like to proove that ha-proxy handles session
| persistance.
| 
| Is there a way to add a header in the http response or the html code to do that
| ?

Well the Zope Request has a bunch of things you can use;

Adding in something into your template that stamps the page with
it should be simple enough.

e.g.

<div tal:content="request/HTTP_HOST" style="display:none" />

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list