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

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

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" 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" % (' Down > Load ') > > > > A click on "Down Load" opens a pop up browser > window which allows the use

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 th

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 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" % (' Down > Lo

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" % (' Down Load ') 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 after the down

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" % (' Down Load ') 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 after the down