[web2py] Re: Support for conversation?

2010-06-11 Thread pierreth
On 11 juin, 01:14, mdipierro wrote: > The only way to keep a conversation would > be to store a token in request.args(0) and keep it there in all links. > Still the conversation is fragile and ends if the user types in a url > without the token. An url parameter of a get request with the session

[web2py] Re: Support for conversation?

2010-06-11 Thread pierreth
On 11 juin, 09:42, szimszon wrote: > This conversation thing could be handy for my inventory app... I just > made use of session but the user starting new conversations to get the > info to continue the original... after that we can't trust the info in > session. ... :-o Yes, it is exactly th

[web2py] Re: Support for conversation?

2010-06-11 Thread szimszon
This conversation thing could be handy for my inventory app... I just made use of session but the user starting new conversations to get the info to continue the original... after that we can't trust the info in session. ... :-o On jún. 11, 15:10, pierreth wrote: > On 11 juin, 01:14, mdipierr

[web2py] Re: Support for conversation?

2010-06-11 Thread pierreth
On 11 juin, 01:14, mdipierro wrote: > yes but people don't just navigate by submitting forms. they also > navigate by clicking links. The only way to keep a conversation would > be to store a token in request.args(0) and keep it there in all links. > Still the conversation is fragile and ends if t

Re: [web2py] Re: Support for conversation?

2010-06-10 Thread Thadeus Burgess
javascript? -- Thadeus On Fri, Jun 11, 2010 at 12:14 AM, mdipierro wrote: > yes but people don't just navigate by submitting forms. they also > navigate by clicking links. The only way to keep a conversation would > be to store a token in request.args(0) and keep it there in all links. > Sti

[web2py] Re: Support for conversation?

2010-06-10 Thread mdipierro
yes but people don't just navigate by submitting forms. they also navigate by clicking links. The only way to keep a conversation would be to store a token in request.args(0) and keep it there in all links. Still the conversation is fragile and ends if the user types in a url without the token. On

Re: [web2py] Re: Support for conversation?

2010-06-10 Thread Thadeus Burgess
That is where the hidden input field with a custom hash comes into play I think? -- Thadeus On Fri, Jun 11, 2010 at 12:00 AM, mdipierro wrote: > The only issue is that if you have two browser windows open I do not > know of a mechanism to identify from which of the two windows a > reques

[web2py] Re: Support for conversation?

2010-06-10 Thread mdipierro
The only issue is that if you have two browser windows open I do not know of a mechanism to identify from which of the two windows a request arrives since the cookies are the same. On Jun 10, 11:39 pm, pierreth wrote: > On 10 juin, 19:14, mdipierro wrote: > > > Interesting. How do you think this

[web2py] Re: Support for conversation?

2010-06-10 Thread pierreth
On 10 juin, 19:14, mdipierro wrote: > Interesting. How do you think this can be implemented? Well, before thinking about the implementation, we must understand the concepts involved. So let's start with the idea of scope. The scope defines the time a peace of information is kept. Information in