Re: [Zope] session data object question

2009-03-11 Thread Andrew Milton
+---[ Lennart Regebro ]-- | On Wed, Mar 11, 2009 at 09:32, Dvir Bar-lev wrote: | > What I need is a way to know if we loaded the page as a result of | > pressing the button or as a result of refreshing the page, as I need to | > do different things in each case. | | There

Re: [Zope] session data object question

2009-03-11 Thread Lennart Regebro
On Wed, Mar 11, 2009 at 09:32, Dvir Bar-lev wrote: > What I need is a way to know if we loaded the page as a result of > pressing the button or as a result of refreshing the page, as I need to > do different things in each case. There is no difference between a refresh and a normal page load. --

Re: [Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
Yep I refresh after, I'll try to work with cookies than, tx -Original Message- From: Andrew Milton [mailto:a...@theinternet.com.au] Sent: Wednesday, March 11, 2009 11:13 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] session data object question +---[ Dvir Ba

Re: [Zope] session data object question

2009-03-11 Thread Andrew Milton
+---[ Dvir Bar-lev ]-- | Hi | | I have a button like that but the the problem is that it also has this | value if I refresh the page, what I mean Is this, I put in the logged_in | page: That is highly unlikely, unless you are refreshing AFTER you submit the form, in which

Re: [Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
Bar-lev Sent: Wednesday, March 11, 2009 10:33 AM To: zope@zope.org Subject: Re: [Zope] session data object question Hi I have a button like that but the the problem is that it also has this value if I refresh the page, what I mean Is this, I put in the logged_in page: Do something And it has

Re: [Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
:15 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] session data object question +---[ Dvir Bar-lev ]-- | Hi | | | | I was wondering if there is a way to connect the creation of a session object | to a button push. | | I?ll explain in more detail: | | | | I

Re: [Zope] session data object question

2009-03-11 Thread Andrew Milton
+---[ Dvir Bar-lev ]-- | Hi | | | | I was wondering if there is a way to connect the creation of a session object | to a button push. | | I?ll explain in more detail: | | | | I have a log in from called login_form, and I have a dtml method called | looged_in that is