Re: [Zope] dtml sessions

2005-06-19 Thread Tino Wildenhain
Am Sonntag, den 19.06.2005, 06:08 +0200 schrieb Andy Kim: No, I am not using the user system here. It is just a simple use. All I want is to put a session-conditional call for a dtml method within a simple page with this method. if not REQUEST.SESSION.get(marker,): yourcall()

[Zope] dtml sessions

2005-06-18 Thread Andy Kim
Hi, I'm a beginner. I'd like allow a dtml method call e.g. dtml-call method for one session only. how do I do this with dtml? could anyone help me? thanks ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] dtml sessions

2005-06-18 Thread Andreas Jung
--On 18. Juni 2005 18:16:48 +0200 Andy Kim [EMAIL PROTECTED] wrote: Hi, I'm a beginner. I'd like allow a dtml method call e.g. dtml-call method for one session only. how do I do this with dtml? could anyone help me? What do you mean by that? Should it callable only once? If yes then of

Re: [Zope] dtml sessions

2005-06-18 Thread Tino Wildenhain
Am Samstag, den 18.06.2005, 18:16 +0200 schrieb Andy Kim: Hi, I'm a beginner. I'd like allow a dtml method call e.g. dtml-call method for one session only. how do I do this with dtml? could anyone help me? How often are you going to ask this? :)

Re: [Zope] dtml sessions

2005-06-18 Thread Andy Kim
No, not just only once but rather for one browser session. If the page is reloaded again the method shouldnt be called. Only if the user comes for a next visit, the method should be called again. It actually should be easy, I'm just not familiar with dtml programming yet. However I'd like to have

Re: [Zope] dtml sessions

2005-06-18 Thread Andy Kim
PROTECTED]; zope@zope.org Sent: Saturday, June 18, 2005 6:58 PM Subject: Re: [Zope] dtml sessions Ah ha! you have as method that is supposed to be private to a particular user. You should set the view permission for the method to be Authorized User and have the method test for the particular