Python CGI as persistent network client.

J

jbi130

Not sure if the subject is a good description of what I'm after...

I have a client-server architecture (current client in Java, server in
C not that it really matters). I'm wanting to implement a web client
with Python and need to do more than just connect and work with the
database behind the server. I've already implemented a client module
in Python which is module enough to work with many UI's (I have a
ncurses based one and a wxPython based for experimental use).

What I think I need to do is create a new connection to the server
(using this module) when a new web session is started and retain this
connection throughout the session until the user logs out or has been
inactive for a certainn amount of time.

The closest example I can think of is a web based IRC client,
obviously these don't reconnect to the server everytime the user
reloads the page.

Are there any frameworks or Python tools aid in this sort of session
persistence? I've looked at Zope but not sure how much I want to deal
with DHTML, etc.

Thanks for any pointers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top