[mod_python] run mod_python on server

Greg Fawcett greg at vig.co.nz
Mon May 28 17:49:05 EDT 2007


Hi Sikander -

It sounds like you have a static HTML page with the form on it calling a
python script when the form is submitted.

After your python script processes the information, it can use req.write()
to send the HTML for the confirmation page back to the user, perhaps saying
that an email has been been sent to them. They can then close this page
whenever they like.

Cheers!
Greg.

On 29/05/07, sikander hayat <hayat221 at yahoo.com> wrote:
>
> Hi all,
>
> I am running mod_python at the backend of my webpage. The scenario is: a
> user enters some information in the form elements of a html page and when he
> presses "submit" button, a python script is called via mod_python and i
> process the information.
>
> Now, i want to continue this backend processing and allow the user to
> close my webpage after informing him that the results will be sent via
> email, so that he doesnt have to wait with the webpage open all the time.
> How can i do that?
>
> thanks,
> Sikander
>
> ------------------------------
> We won't tell. Get more on shows you hate to love<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265%0A>
> (and love to hate): Yahoo! TV's Guilty Pleasures list.<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265%0A>
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>


-- 
Phone: +64 3 409 8165
Mobile: +64 21 333 291
Fax: +64 3 974 6810
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070529/9572e040/attachment.html


More information about the Mod_python mailing list