Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

zeo client tracking

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


mikael.kermorgant at gmail

Jun 17, 2009, 8:03 AM

Post #1 of 2 (356 views)
Permalink
zeo client tracking

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 ?

Regards,

--
Mikael Kermorgant


akm at theinternet

Jun 17, 2009, 8:05 AM

Post #2 of 2 (322 views)
Permalink
Re: zeo client tracking [In reply to]

+-------[ 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
_______________________________________________
Zope maillist - Zope[at]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 )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.