Re: How to exit a cgi file after a download

2013-09-05 Thread inq1ltd
There is no such thing as a cgi form or cgi window. Your cgi script runs when the user requests a Web page, generates a page, and then ends. At that point, python has stopped running. If your want the client's browser window to close, that's not a python problem. If you want to invalidate the

How to exit a cgi file after a download

2013-09-04 Thread Ferrous Cranus
Python help. I use the following code in a cgi file to give the client a download link to download a file. --- print %s % ('a href = Setup.zip Down Load /a') A click on Down Load opens a pop up browser window which allows the user to choose where to download the Setup.zip file, then

How to exit a cgi file after a download.

2013-09-04 Thread inq1ltd
Python help. I use the following code in a cgi file to give the client a download link to download a file. --- print %s % ('a href = Setup.zip Down Load /a') A click on Down Load opens a pop up browser window which allows the user to choose where to download the Setup.zip file, then

Re: How to exit a cgi file after a download.

2013-09-04 Thread Joel Goldstick
This same message comes up under one of Niko's many aliases. Is this another? Why post twice? On Wed, Sep 4, 2013 at 2:44 PM, inq1ltd inq1...@inqvista.com wrote: Python help. I use the following code in a cgi file to give the client a download link to download a file. --- print %s %

Re: How to exit a cgi file after a download

2013-09-04 Thread random832
On Wed, Sep 4, 2013, at 12:49, Ferrous Cranus wrote: Without closing it, the client can download again and forever if they choose to because the cgi window is open and the link is still active. Why is this a problem? They usually won't want to, and if they do want to (for example if they

Re: How to exit a cgi file after a download

2013-09-04 Thread Benjamin Kaplan
On Sep 4, 2013 1:29 PM, Ferrous Cranus ni...@superhost.gr wrote: Python help. I use the following code in a cgi file to give the client a download link to download a file. --- print %s % ('a href = Setup.zip Down Load /a') A click on Down Load opens a pop up browser window

Re: How to exit a cgi file after a download.

2013-09-04 Thread alex23
On 5/09/2013 5:42 AM, Joel Goldstick wrote: This same message comes up under one of Niko's many aliases. Is this another? Why post twice? Because he's a troll. -- https://mail.python.org/mailman/listinfo/python-list