Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-13 Thread Craeg K Strong
Steve Alexander wrote: >> My application can then automatically send notifications to others >> based on the execution of the VisitURL Command. >> I can send email to my group saying "So and so has seen the contract" > > Incorrect. > > This shows that they read the original email, and intended t

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-09 Thread Steve Alexander
> If we send an email to a counterparty to a legal contract with a URL to > the contract, we know that they saw the contract by observing a > VisitURL Command with their user ID and the URL of the contract. > That means they read the email and clicked on the URL we sent > (or navigated to it thro

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-08 Thread Craeg K Strong
I figured out a way to do this, although it uses an unpublished method. In my __before_publishing_traverse__ I do the following: if not request.has_key('userId'): # # Get authentication information from the REQUEST, where it # is held in encrypted

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-08 Thread Tim McLaughlin
Much easier and nicer is to use an "Access Rule" (look in the Add drop-down). Tim Craeg K Strong wrote: > Hello: > > I would like to log the identity of the authenticated > user for *every* URL traversal within my Zope Product. > > For example, let's say that my forms-based web application co