[Zope] Zope and long running sessions question...

Thomas B. Passin tpassin@mitretek.org
Tue, 26 Oct 1999 11:18:58 -0400


Typically, the page would compute what url to ask for at the client (i.e., in
the user's web browser), using (most likely) javascript to figure it out based
on the user's entries in the form.  The server doesn't need to be involved at
all. This is desirable.  You don't need Zope, ASP, Cold Fusion, etc. for this.

If you want to use Zope to perform the logic anyway, you can 1) have Zope return
a page based on the form contents, or 2) have Zope insert different contents
into the page to be returned, depending on the form's variables.

Thomas Passin

From: Christopher A. Wright <caw@belloc.med.monash.edu.au>


>I have an application that requires the user to fill in some forms. The
>next form to serve up to the user depends on the contents of the last
>form. The transaction looks like this:
>user requests service:
> Zope starts up service
> Zope sends first page to the user
>User responds
> Zope decides what page to serve next
> Serves the page
>User responds
> ........repeat as needed
>
> Zope returns the result of the service
> request to the user.
>
>{
>for Zope read Bobo, I guess. I'm really interested in the long running
>Python process stuff, more than the delegation, roles etc at the moment.
>}
>
>I'm wondering how Zope would handle this. At the initial service request,
>Zope would return some html, but in some sense, it's really a function
>call OUT to the user to get some more data. the user then responds, but
>again, that's really a call to Zope.
>
>I would love to understand how Zope might work here...
>
>cheers and thanks for any help
>
>chris wright
>
>
>Dr. Christopher A. Wright
>Deputy Director, ICU
>Monash Medical Centre,
>Clayton Rd.,
>Clayton VIC 3168
>AUSTRALIA
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(Related lists - please, no cross posts or HTML encoding!
>
>To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )