how to modify text in html form from python

Mike Meyer mwm at mired.org
Fri Oct 21 19:16:06 EDT 2005


"Philippe C. Martin" <pmartin at snakecard.com> writes:

> I feel fairly stupid ... but to my defense in the past 17 years of coding,
> i've only spent 3 days looking at web stuff:
>
> I now can understand how "writing" to an existing form field from a cgi
> script might not work: how would the browser know ?: unless there is a very
> sophisticated scheme there (as those used in image transfer), I assume the
> complete page would have to be sent back: so might as well
> regenerate/rewrite everything.
>
> Yes ?
>
> I so, I'm back to finding a way for a browser plugin and a server based cgi
> script to exchange information.
>
> Any idea welcome... I know I don't want to open another socket/port but
> stick to http:80

Then you're out of luck. You can't even depend on their being an open
http connection available to use when the plugin runs. The browser may
well do: Load all data. Close connections. Render page as far as we
can. Launch code objects that we loaded.

     <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list