> When I try to get the property directly via the browser i get a result of
> "1" The default value for lastID=0 to begin with so this sounds plausible,
> but when I refresh the browser nothing happens. So I guess that lastID
> updated in the above code.
I think this is a class - object problem. Each time you create an object
based on your ZClass, the lastID becomes 0. Each object has its own lastID,
rather than what you are expecting which is one instance of last id.
My advice... download and install FSCounter from Zope.org
Add an FSCounter, call it "Unique" and turn Cookie? to OFF (very important).
This will generate and keep track of an incrementing value on the file
Then in your constructor add / change:
<dtml-call "REQUEST.set('unique', u)">
That should work like a charm.
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -