hi, i'm a newbee to Zope . i'd like to know what purposes can a Z Class serve ? i've also been working on maintaining state ie session for a visitor. how do i go about doing something like, displaying to a visitor the number of times he has visited a particular page. please help.... bye, winston
Hi Winston, I am also new to Zope, but I can tell you that it sounds like an application for "cookies." In case you are not familiar, "cookies" are files created by the browser on the client machine that can be used by your server to store persistent state information, like a visit count or a last visit date. There is a document on the ZDP site called The Zope Book. It contains lots of useful information, including a section on using cookies in Zope. Check it out at: http://zdp.zope.org/guide/ZBook Best Regards, Brian Holdsworth -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Winston Dhanraj Sent: Tuesday, November 30, 1999 1:42 AM To: 'zope@zope.org' Subject: [Zope] Questions... hi, i'm a newbee to Zope . i'd like to know what purposes can a Z Class serve ? i've also been working on maintaining state ie session for a visitor. how do i go about doing something like, displaying to a visitor the number of times he has visited a particular page. please help.... bye, winston
On Tue, Nov 30, 1999 at 07:52:58PM -0500, Brian K. Holdsworth wrote:
Hi Winston,
I am also new to Zope, but I can tell you that it sounds like an application for "cookies." In case you are not familiar, "cookies" are files created by the browser on the client machine that can be used by your server to store persistent state information, like a visit count or a last visit date.
Yes, but cookies have gotten a lot of bad press. I built a site with PHP and a login cookie and have gotten all caps messages from users accusing me of bloddy murder for using cookies. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
Stephen Pitts wrote:
On Tue, Nov 30, 1999 at 07:52:58PM -0500, Brian K. Holdsworth wrote:
Hi Winston,
I am also new to Zope, but I can tell you that it sounds like an application for "cookies." In case you are not familiar, "cookies" are files created by the browser on the client machine that can be used by your server to store persistent state information, like a visit count or a last visit date.
Yes, but cookies have gotten a lot of bad press. I built a site with PHP and a login cookie and have gotten all caps messages from users accusing me of bloddy murder for using cookies.
I built several ( but now I have my hands on Zope :-) but no complains. You cannot educate each user about what a cookie can do anyway. The non-brainers think a `cookie' can rm -rf your hard, burn your motherboard or kill your dog. But what would be Zope w/o cookies? (remember the nice expandable trees, session management, preferences , etc.) Not much, and cookies are just okay as long as the browsers do their jobs and send them only to originating domains, or only over SSL when this is required. -- CIMPOESU Teodor, Web Programmer @ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo@digiro.net , +(401)-330.47.28 official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/
On Tue, Nov 30, 1999 at 12:12:01PM +0530, Winston Dhanraj wrote:
hi, i'm a newbee to Zope . i'd like to know what purposes can a Z Class serve ? i've also been working on maintaining state ie session for a visitor. how do i go about doing something like, displaying to a visitor the number of times he has visited a particular page. please help.... bye, winston
I've used ZClasses to encapsulate the information contain within a web page. For example, I've created a links page with 20-30 links that can be easily edited because I created a ZClass to represent a link. Instead of once monolithic DTML Document with all of the links, my Links folder is arranged into several subfolders, each containing "Link" objects. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
participants (4)
-
Brian K. Holdsworth -
Stephen Pitts -
Teodor Cimpoesu -
Winston Dhanraj